summaryrefslogtreecommitdiff
path: root/source3
AgeCommit message (Collapse)AuthorFilesLines
2003-04-30Sun CC requires constant initialisers, so use a static here.Andrew Bartlett1-1/+1
(a common bug with popt stuff, becouse it's fine with GCC). (This used to be commit edbab685d181887f8cb055cc9dc175b2772bd0ff)
2003-04-29smbgroupedit has been replaced by 'net groupmap'Gerald Carter2-412/+0
remove related file. Left in EHAD for reference (for now) (This used to be commit 2e7537d8e29171bfddac984911c55cf567886956)
2003-04-29remove convert_smbpasswd and addtosmbpass from tree; people can get them ↵Gerald Carter4-4/+27
from 2.2. if they still need them (This used to be commit 237857a760974bb02000e5d3a776240ec73ca6b6)
2003-04-29Like net rpc user -l, let net ads user -l allow more than 50 characters inJim McDonough1-1/+1
comments. (This used to be commit b5b1732b1144c9bcf5c3b08f6f9da9ad8875f5f7)
2003-04-29Allow net rpc user -l to list longer than 50 characters in a user comment.Jim McDonough1-1/+1
Net.exe on windows won't allow more than 50 characters to be entered, but through AD you can have much more than this. (This used to be commit ca2886c9385361ea401e3e0b47c26cb39adcadbc)
2003-04-29adding ifdef'd code to add alias membership for vampireGerald Carter1-0/+138
(This used to be commit 2557b94519fbb3110948a3c6a3f412622757d2b0)
2003-04-29add version back to lanman string in sessetup replyGerald Carter1-1/+5
(This used to be commit dade462a168abe721c70022546109074961969b6)
2003-04-29Use a common function to create the SAM_ACCOUNT being used to add accountsAndrew Bartlett3-61/+45
to the system. This means that we always run Get_Pwnam(), and can never add FOO when foo exists on the system (the idea is to instead add foo into the passdb, using it's full name, RID etc). Andrew Bartlett (This used to be commit bb79b127e02cefae13c822fd0fd165f1f214b740)
2003-04-29sync with HEAD and remove --with-misplussam as wellGerald Carter1-17/+0
(This used to be commit 531c2df8d443fde8fafdc95250cb9eb809089d59)
2003-04-29remove --with-tdbsam since it is always built nowGerald Carter2-18/+1
(This used to be commit f277cd54ea6be5cad6ea765d992bc4133765ef92)
2003-04-29do not build wrepld by default; package maintainers need to update their ↵Gerald Carter1-1/+1
files now (john :) ) (This used to be commit 4a2bd728a5486764f0e50932d37c636ed8d226ea)
2003-04-29don't implement any group mapping functions in the guest sam moduleGerald Carter2-0/+59
(This used to be commit a354bf4b7eadec3e6aa5f5547b58c7856fda3471)
2003-04-29only call the add_script if the getpwnam_alloc() failsGerald Carter1-19/+28
(This used to be commit c0807e21999ec718d722fc0be6b3353c9369db04)
2003-04-29removing printing = SOFTQ since no one knows what it isGerald Carter2-95/+0
(This used to be commit 283953472229952f7f2613a207515580cd0919c3)
2003-04-29Fix for format string warning from vanceAndrew Bartlett1-8/+8
(This used to be commit 0369d4432b9700626b6853dae8c93770bb1bcd59)
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)