1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-05 09:18:06 +03:00
Commit Graph

11786 Commits

Author SHA1 Message Date
Simo Sorce
db571a9fd7 auto-init for utility functions 0001-01-01 00:00:00 +00:00
Simo Sorce
1915ab7b95 forgot to remove getpwnam 0001-01-01 00:00:00 +00:00
Simo Sorce
6a6f603246 This is a nice rewrite:
SAM_ACCOUNT does not have anymore uid and gid fields
all the code that used them has been fixed to use the proper idmap calls

fix to idmap_tdb for first time idmap.tdb initialization.

auth_serversupplied_info structure has now an uid and gid field

few other fixes to make the system behave correctly with idmap

tested only with tdbsam, but smbpasswd and nisplus should be ok

have not tested ldap !
0001-01-01 00:00:00 +00:00
Gerald Carter
000fe6b2f0 remove convert_smbpasswd and addtosmbpass from tree; people can get them from 2.2. if they still need them 0001-01-01 00:00:00 +00:00
John Terpstra
bec502c3b8 Adding further change to accommodate the add machine script facility. 0001-01-01 00:00:00 +00:00
John Terpstra
843673947e Add reference to use of the add machine script for on-the-fly machine account creation. 0001-01-01 00:00:00 +00:00
Gerald Carter
21867183e0 adding ifdef'd code to add alias membership for vampire 0001-01-01 00:00:00 +00:00
Andrew Bartlett
2c7b3d9fd5 Some passdb backends really don't like having no primary group - so always
set one - new accounts -> domain users, unless otherwise specified.

This moves that logic from pdb_set_sam_sids() into pdb_init_sam_new(), which
is called by all the 'new account' creators. (pdb_set_sam_sids() now only
deals with the mapping from an existing account)

Andrew Bartlett
0001-01-01 00:00:00 +00:00
Jelmer Vernooij
63cf5637c1 Change order of parameters to smb_register_passdb() 0001-01-01 00:00:00 +00:00
Gerald Carter
4ab1909378 add version back to lanman string in sessetup reply 0001-01-01 00:00:00 +00:00
Andrew Bartlett
38a8f2b23a Merge Samba 3.0 pdb_ldap from 3.0 into HEAD, so as to allow idra to continue
his IDMAP work.

This version also works properly (the HEAD version had suffered from bitrot),
and should be a good basis to change into the new IDMAP rules.

It also includes UTF8 conversions.

Included also are the schema changes, and a note about the now very old scripts
in examples/LDAP (they don't work for this, or even the previous schema).

Andrew Bartlett
0001-01-01 00:00:00 +00:00
Simo Sorce
3c2963f8e3 forgot to add the file where things moved 0001-01-01 00:00:00 +00:00
Simo Sorce
f7041ec5d7 consolidate idmap code in one place 0001-01-01 00:00:00 +00:00
Andrew Bartlett
3c867aedd9 Merge 3.0's change to how we add users onto HEAD, including a few other bits
of sync-up for the rpc_server/srv_samr_nt.c

Andrew Bartlett
0001-01-01 00:00:00 +00:00
Gerald Carter
ba1e654a15 only call the add_script if the getpwnam_alloc() fails 0001-01-01 00:00:00 +00:00
Gerald Carter
a4056e2cae don't implement any group mapping functions in the guest sam module 0001-01-01 00:00:00 +00:00
Gerald Carter
7daf5f0042 removing printing = SOFTQ since no one knows what it is 0001-01-01 00:00:00 +00:00
Simo Sorce
67af8c2658 ok next_rid out as well local_*id_to*id functions
reverted user making function, did not pass the abartlet test :-)
idmap is now fully integrated, we only miss user creation and removal of uid
and gid from SAM_ACCOUNT
0001-01-01 00:00:00 +00:00
Simo Sorce
c4ba4db341 swat need idmap now 0001-01-01 00:00:00 +00:00
Simo Sorce
74826e7ebb new helper functions to create users 0001-01-01 00:00:00 +00:00
Jeremy Allison
30512b7d3e Fixes from Ronan Waide <waider@waider.ie> for large RPC writes.
Jeremy.
0001-01-01 00:00:00 +00:00
Jelmer Vernooij
f4576757d1 Use NTSTATUS as return value for smb_register_*() functions and init_module()
function. Patch by metze with some minor modifications.
0001-01-01 00:00:00 +00:00
Jelmer Vernooij
d16f8f661a Add example auth/ module 0001-01-01 00:00:00 +00:00
Alexander Bokovoy
1b5ad8a502 Fix SGML/XML incompability before starting conversion to XML 0001-01-01 00:00:00 +00:00
Jelmer Vernooij
1fda7847fc Remove uid and gid column 0001-01-01 00:00:00 +00:00
Jelmer Vernooij
c86d32d734 Add note on AIX 0001-01-01 00:00:00 +00:00
Andrew Bartlett
3c7155424a In HEAD, idra removed _nua and renamed it to 'idmap uid' 0001-01-01 00:00:00 +00:00
Andrew Bartlett
082bdcd662 We don't use 'non unix account range' any more 0001-01-01 00:00:00 +00:00
Jelmer Vernooij
b295c3ac5e Bugs should go into bugzilla! 0001-01-01 00:00:00 +00:00
Jelmer Vernooij
5957e3bf33 Use entities and add overview of directories 0001-01-01 00:00:00 +00:00
Volker Lendecke
a1cae680f9 Typo in error message
Volker
0001-01-01 00:00:00 +00:00
Andrew Bartlett
c7f06f3a48 Merge memory leak fixes in our trusted domain list from 3.0 to HEAD 0001-01-01 00:00:00 +00:00
Andrew Bartlett
c0903951a1 Merge compile warning fixes from 3.0 0001-01-01 00:00:00 +00:00
Andrew Bartlett
52c5806004 Merge compile and other fixes from 3.0 to HEAD.
Including smbtorture bugfixes, and a better TCONDEV test.

Andrew Bartlett
0001-01-01 00:00:00 +00:00
Tim Potter
d20f4bf5d8 Perform lp_load() before popt to fix -W option. 0001-01-01 00:00:00 +00:00
Tim Potter
272d06369d Merge of -W fixes for bug #39:
>Replace workgroup global variable with lp_workgroup()
>
>Call lp_load() before parsing command line options so we can override
>the workgroup value with the -W switch.
0001-01-01 00:00:00 +00:00
Tim Potter
6a783ca81c Fix compiler warning. 0001-01-01 00:00:00 +00:00
Richard Sharpe
22e61a7e77 Getting ready for code that actually writes a registry file out. 0001-01-01 00:00:00 +00:00
Tim Potter
40d370bec6 Two character tabs - I don't think so. 0001-01-01 00:00:00 +00:00
Tim Potter
0c3314ab97 Return NT_STATUS_UNSUCCESSFUL if the sourcedata and echodata rpcs
return unexpected data.

Closes bug #2.
0001-01-01 00:00:00 +00:00
Jelmer Vernooij
765d87838d Update for new modules system 0001-01-01 00:00:00 +00:00
Jelmer Vernooij
280d627adb Replace references to the old textdocs by references to chapters in
the HOWTO Collection.
CVS: ----------------------------------------------------------------------
CVS: Enter Log.  Lines beginning with `CVS:' are removed automatically
CVS:
CVS: Committing in .
CVS:
CVS: Modified Files:
CVS:  Tag: SAMBA_3_0
CVS: 	smb.conf.default
CVS: ----------------------------------------------------------------------
0001-01-01 00:00:00 +00:00
Jelmer Vernooij
29ba1e163f Update for the new modules system. Also, use Makefile rather then Makefile.in
because we don't generate Makefile from configure anymore.
0001-01-01 00:00:00 +00:00
Jelmer Vernooij
5e4e6a6ed0 Fix number of arguments to asprintf() 0001-01-01 00:00:00 +00:00
Jelmer Vernooij
3df125fd50 Document 'nmblookup -M -- -' 0001-01-01 00:00:00 +00:00
Jelmer Vernooij
674b671983 Add 'smbiconv' program - a clone of the 'iconv' utility
that uses samba's internal iconv() functions. Useful for
testing purposes.
0001-01-01 00:00:00 +00:00
Jelmer Vernooij
3f36b589b0 Remove docs-status - all it's contents are in bugzilla now 0001-01-01 00:00:00 +00:00
Jelmer Vernooij
38fed08397 Update for 3.0 (update information about the docs and ./configure) 0001-01-01 00:00:00 +00:00
Jelmer Vernooij
fa7b703da7 Remove documentation for unixsam and plugin. 0001-01-01 00:00:00 +00:00
Simo Sorce
09eb02cba0 prepare to get _nua out of the door (but back in from the window ;-) 0001-01-01 00:00:00 +00:00