summaryrefslogtreecommitdiff
path: root/source3
AgeCommit message (Collapse)AuthorFilesLines
2003-04-28Fixes from Ronan Waide <waider@waider.ie> for large RPC writes.Jeremy Allison1-2/+2
Jeremy. (This used to be commit a330bf170eb8e78200367c90833cbc90255642cb)
2003-04-28Use NTSTATUS as return value for smb_register_*() functions and init_module()Jelmer Vernooij37-126/+163
function. Patch by metze with some minor modifications. (This used to be commit bc4b51bcb2daa7271c884cb83bf8bdba6d3a9b6d)
2003-04-28Add cast for compilerAndrew Bartlett1-1/+1
(This used to be commit 456eb5d05a442ee380cfa756be54619b1d68fa48)
2003-04-28Fix a confusing error messageVolker Lendecke1-1/+1
Volker (This used to be commit 69df898afb45e2e577a10649f66f5352887044a2)
2003-04-28The caller must always set the RID on the SAM_ACCOUNT, so don't try and guessAndrew Bartlett1-3/+1
it from the UID. Andrew Bartlett (This used to be commit cdc1d0505107d05d784693d321b24208a386d4f0)
2003-04-28The RID must be 'SET', not 'DEFAULT' or we won't set it into LDAP, and tryAndrew Bartlett1-2/+2
to make it up from the algorithm... Andrew Bartlett (This used to be commit 0d8e4066a3bfbe89b464a90fc9f16a7dd1539573)
2003-04-28Guenther Deschner <gd@suse.de> notes that I missed out setting the defaultAndrew Bartlett1-1/+3
for the 'normal' case (not --with-ldapsam). Andrew Bartlett (This used to be commit ebe5c618189391e6adf27e565a5821f8d47c8c7d)
2003-04-28A new pdb_ldap!Andrew Bartlett4-316/+724
This patch removes 'non unix account range' (same as idra's change in HEAD), and uses the winbind uid range instead. More importanly, this patch changes the LDAP schema to use 'ntSid' instead of 'rid' as the primary attribute. This makes it in common with the group mapping code, and should allow it to be used closely with a future idmap_ldap. Existing installations can use the existing functionality by using the ldapsam_compat backend, and users who compile with --with-ldapsam will get this by default. More importantly, this patch adds a 'sambaDomain' object to our schema - which contains 2 'next rid' attributes, the domain name and the domain sid. Yes, there are *2* next rid attributes. The problem is that we don't 'own' the entire RID space - we can only allocate RIDs that could be 'algorithmic' RIDs. Therefore, we use the fact that UIDs in 'winbind uid' range will be mapped by IDMAP, not the algorithm. Andrew Bartlett (This used to be commit 3e07406ade81e136f67439d4f8fd7fe1dbb6db14)
2003-04-28inet_pton isn't portable, so use interpret_addr2.Andrew Bartlett1-3/+3
(This used to be commit 04d27381325561038bee1c27f10c748b9aaf447d)
2003-04-28Merge:Tim Potter1-11/+11
> Perform lp_load() before popt to fix -W option. (This used to be commit f8db590b07cabea3e199109bcdc26eaede189915)
2003-04-28Replace workgroup global variable with lp_workgroup()Tim Potter1-10/+8
Call lp_load() before parsing command line options so we can override the workgroup value with the -W switch. Fixes bug #39. (This used to be commit 56f070cd5242ac6c10699ca35726ce68199dd274)
2003-04-28Fix compiler warning.Tim Potter1-1/+1
(This used to be commit f127f964250c86986996afab905b40cff420bfd5)
2003-04-28Merge:Tim Potter1-2/+4
>Patch from waider to set exit code of last executed command specified >as an argument to -c. (This used to be commit b1ad69268889dbc2765ae98789112a28dc4c40c6)
2003-04-28Whitespace syncup.Tim Potter4-14/+7
(This used to be commit 7fd7af121ee8ba4f9540394f64fe3c78e2e96cd2)
2003-04-28Merge: we need a rule for t_snprintfTim Potter1-0/+2
(This used to be commit 4d2106f910d64bf599394c17a30c351244cc137c)
2003-04-28Ignore t_snprintf binary.Tim Potter1-1/+2
(This used to be commit 8d70ef6b8cf52e582e385c8c9b8f085b183169fd)
2003-04-28Merge of a debuglevel downgrade from HEAD.Tim Potter1-2/+2
(This used to be commit d17e04e82b77256f10f4bdf4442dac6d30e197b5)
2003-04-28Merge stf updates from HEAD.Tim Potter2-5/+6
(This used to be commit 20bde94eb881009128794283a1d7537bbc62e268)
2003-04-28Merge of const fixes from HEAD.Tim Potter3-3/+3
(This used to be commit a847ebd82732cc2b430c58c3b287a46db0e35ba1)
2003-04-28Merge from HEAD:Tim Potter1-0/+2
>Return NT_STATUS_UNSUCCESSFUL if the sourcedata and echodata rpcs >return unexpected data. > >Closes bug #2. (This used to be commit 2e5f75beafd3f3d81869ce68e77b8c53cd7a2caf)
2003-04-28Fix number of arguments to asprintf()Jelmer Vernooij1-1/+1
(This used to be commit 42e76c312333c6e5b8feb2d687e3355235b0d4a0)
2003-04-28Make some more functions staticJelmer Vernooij1-3/+3
(This used to be commit ddd2e65586ff47daf4f63e9928413cc05bf5db85)
2003-04-27Add 'smbiconv' program - a clone of the 'iconv' utilityJelmer Vernooij2-0/+249
that uses samba's internal iconv() functions. Useful for testing purposes. (This used to be commit ccabb7961a15c06a315bdb9ff1a79834864f67e7)
2003-04-26Patch from VorlonJohn Terpstra1-7/+1
(This used to be commit 837bc15a54665baddec4a68938c3f60e17757700)
2003-04-26round three of CIDR fixes; spotted by Tomoki AONOGerald Carter1-3/+2
(This used to be commit 554026b2084e2371c1ddae7316fbb0b9b76472d4)
2003-04-26Remove the unpopular pdb_unix, which has served it's time well.Andrew Bartlett3-144/+9
Also get charset 'werid' for both --enable-developer options in configure. Andrew Bartlett (This used to be commit 2a99e77e91cd214296f12b0aaf30c3c51d5a2c0a)
2003-04-26After a quick run with the 'weird' charset, squash a few bugs in our newAndrew Bartlett1-5/+12
'UF8-safe' LDAP code. I hope I've caught all the places where we were pushing strings into or out of LDAP now. Andrew Bartlett (This used to be commit 70bf7a5f71f71aeb5338723d1f5b32a89d5c4f91)
2003-04-26Add the weird charset in 3_0 and build it by default for ./configure ↵Jelmer Vernooij1-0/+131
--enable-developer (This used to be commit bc5603454a81b3ab6e5286283ed5ce58542bc5ef)
2003-04-26Fix the weird charset and build it by default for ./configure -enable-developerJelmer Vernooij2-6/+7
(This used to be commit 8d17a4dc2142aa816200f3f91c7f60c3f2c5888c)
2003-04-26back port from HEADSimo Sorce2-10/+86
(This used to be commit f7cfdf20b7b3b7743c0c3af4ff62fdde00e45fdc)
2003-04-25Get credentials before publishing printers.Jim McDonough1-0/+8
(This used to be commit 674174fcca234a44d1778ee092998338cbd7a553)
2003-04-25As nobody really objected to this patch, I opted to create facts :-)Volker Lendecke1-1/+3
This uses 'socket address' as the source address for nmbd. This way we can again synchronize with the DMB if we have 'bind interfaces only' to a virtual interface. I'd love to see this in 2.2.9, but that is up to jerry or jra. Volker (This used to be commit fe637c690b671ddb5ccbf506825a9ede6abf6668)
2003-04-25Based on a patch by Alex Deiter <tiamat@komi.mts.ru>, make sure that we convertAndrew Bartlett1-20/+69
to and from UTF8 when talking to our LDAP server in pdb_ldap. Andrew Bartlett (This used to be commit 759ba40b12a28caea87c0d8b3baea8bb69c92c89)
2003-04-25This function is a duplicate.Andrew Bartlett1-18/+0
(This used to be commit fd0cd6200b4b9b4b002dc5b640620c3fb533873b)
2003-04-25Merge of missed another while condition when enumerating aliases.Tim Potter1-1/+1
(This used to be commit ee78196bcfe52dfdda0b7fd44a6701e2cf5f7d5a)
2003-04-25fix and if () that should be an 'else if()'Gerald Carter1-1/+1
(This used to be commit 82f024723c5312fe2b6a57915de8e78c96f80ef0)
2003-04-25Minor cleanup of enum domain groups/aliases:Tim Potter1-12/+18
- return NT_STATUS_NO_MEMORY instead of NT_STATUS_UNSUCESSFUL if a talloc fails - don't try and tallocate memory when the number of entries returned was zero - rename some cut&pasted variable names in enum domain aliases function (This used to be commit aa748e1da543f0e59df8a56996ebd9510732507e)
2003-04-25Merge:Tim Potter1-2/+2
>When calling cli_samr_enum_{dom,als}_groups in a while loop, the >terminating condition should be result != STATUS_MORE_ENTRIES, not >result == NT_STATUS_OK otherwise we get stuck in an infinite loop >when there's any sign of trouble. (This used to be commit 4998a72cf8e3a2b254dc409a36b9bbd118bdc4fd)
2003-04-24Don't store UID or GIDJelmer Vernooij2-48/+13
(This used to be commit a986076a743fad31efac664fc16337e2d1165917)
2003-04-24In 3.0, pdb_mysql and pdb_xml are in passdb/Jelmer Vernooij1-2/+2
(This used to be commit 706090a1be66b9fffb6c8161092cf9d86965bcfa)
2003-04-24- Get rid of module_path_get_name()Jelmer Vernooij1-11/+6
- Use find backend function to find duplicates - declare static function before using it (This used to be commit ad5ebd4f2065425a9edffc753c0f0414fd6f98d4)
2003-04-24Get rid of module_path_get_name() and use the find backend functionJelmer Vernooij1-10/+5
to find duplicates (This used to be commit 871cad7e9ac38e6f8e4391fcb2894d91300cbe94)
2003-04-24Check for absolute paths by only checking the first character of the module ↵Jelmer Vernooij1-1/+1
name. Don't use strchr_m, which caused race conditions. (This used to be commit 69ec6be90f889686641b997d3d5cd616e1d0db6d)
2003-04-24Fix length in findfirst2 responses, fix os/2 clientsJim McDonough1-4/+10
(This used to be commit c12feff680b183a22d933bab65b5c095c0548e7e)
2003-04-24groupmap delet should take a name or a SIDGerald Carter1-2/+13
(This used to be commit d9277bd06401cb040390739ae730c8991736c886)
2003-04-24Revert patch - we need to try the NTLMSSP code below...Andrew Bartlett1-9/+4
Andrew Bartlett (This used to be commit 317158972ec944742ba47b213999def9abbf7452)
2003-04-24Use the kerberos error from ads_kinit_password() in the return value fromAndrew Bartlett1-4/+9
our SASL code - help in printing a useful error message. Andrew Bartlett (This used to be commit 984321bfab79a1ff20b504e115e94bd6270f0196)
2003-04-24Merge from HEAD - always initailise this to zero - helps callers in loops.Andrew Bartlett1-0/+3
(This used to be commit f200a5b85832ac5ec7724d58da7270cd14c565e3)
2003-04-24Merge auth changes from HEAD:Andrew Bartlett5-70/+83
- better error codes than NT_STATUS_UNSUCCESSFUL for domain logon errors - make auth_winbind load the ntdomain module if winbind isn't there. - use new trusted domains cache to determine if the domain is valid. Andrew Bartlett (This used to be commit ec8d6524c6b0c70927a2b57aab71d9e3a7f8a150)
2003-04-24Irix CC reminds us that this is non-standard.Andrew Bartlett1-2/+2
Andrew Bartlett (This used to be commit 748ed3552b2be1d86387dc3628107375104d8f50)