summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2001-12-04Set errno in tdb_open in cases where we detect an error in opening theMartin Pool2-12/+35
database, but no underlying system call sets errno. The particular case I had was a mangled .tdb, but there are others. For this one, set EIO. It's a shame Unix messages aren't more detailed -- "bad data format" would be better. (This used to be commit 5630a988be05c21b60aba6304d4aaadce6024817)
2001-12-04Tidyup of lib/username. Add name_is_local fn to determine if name isJeremy Allison2-171/+183
winbindd. Getting ready for efficiency fix in group lookups. Jeremy. (This used to be commit 8d41dfd149625e8ac53ab5e90a96e9a2daf9a629)
2001-12-04Added error message for ERRdiskfull.Tim Potter1-0/+1
(This used to be commit 9f5d7e8a04c36395570247bc5e1b7b3fc5d1a322)
2001-12-04when using non-encrypted password ignore the ntpass variable toAndrew Tridgell1-2/+2
session setup (This used to be commit c7665706cd5633ede710afe41413624124038238)
2001-12-03Added prototypes for new fns. Thanks Elrond.Jeremy Allison1-0/+7
Jeremy. (This used to be commit 2a7bd621b400173d61bb0adab3eded0baeb48d0b)
2001-12-03added a tdb to store the account policy informations.Jean-François Micouleau11-133/+465
You can change them with either usermanager->policies->account or from a command prompt on NT/W2K: net accounts /domain we can add a rpc accounts to the net command. As the net_rpc.c is still empty, I did not start. How should I add command to it ? Should I take the rpcclient/cmd_xxx functions and call them from there ? alse changed the SAM_UNK_INFO_3 parser, it's an NTTIME. This one is more for jeremy ;-) J.F. (This used to be commit bc28a8eebd9245ce3004ae4b1a359db51f77bf21)
2001-12-03changed query_dispinfo to query_user_listAndrew Tridgell4-23/+23
(This used to be commit 80010d80f93cfb32c53a1720c7564fb080846f35)
2001-12-03put sid_to_name behind the winbindd backend interfaceAndrew Tridgell7-44/+85
I spent quite a while trying to work out how to make this call via ldap and failed. I then found that MS servers seem use rpc for sid_to_name, and it works even when in native mode, I ended up just implementing it via rpc (This used to be commit 789833b44e342c0b5de463ed8f9b5f7474a99f27)
2001-12-03added name_to_sid to the backendAndrew Tridgell10-111/+186
(This used to be commit 816e40a51af80a7f703c0451304de406deab3dd8)
2001-12-03const religionAndrew Tridgell2-3/+3
(This used to be commit 359ca8f246c46b1700418fe0226458023f808d67)
2001-12-03added another ATYPE_Andrew Tridgell1-1/+2
(This used to be commit 514bc61daa3f6d11dadac1baed5a5bf61313b1f9)
2001-12-03make proto should build winbindd_proto.h as wellAndrew Tridgell1-1/+1
(This used to be commit c8339ce5c88a371728a329d0e80266fe41c00fee)
2001-12-03This change reworkes the connection code for both rpcclient and net newAndrew Bartlett4-160/+164
'net' untility. This should make it easier to port rpcclient code across to net. It also allows SPNEGO (the NTLMSSP subsystem in particular) to work, becouse it kills off the early destruction of the clear-text password. Andrew Bartlett (This used to be commit eee925861a3af3aa16efa3b1700a980c9510c14e)
2001-12-03Forgot this one with the last commit...Andrew Bartlett1-0/+36
Andrew Bartlett (This used to be commit 8dbd9702d829eaefcdab8e3f8a4750befa884234)
2001-12-03added a basic ADS backend to winbind. More work needed, but atAndrew Tridgell7-22/+335
least basic operations work (This used to be commit 88241cab983b2c7db7d477c6c4654694a7a56cd3)
2001-12-03This is another major rework of the 'net' command.Andrew Bartlett4-1058/+1274
This time, all the existing functionality has been moved into 'net rap', ready for new commands in the 'net ads' and 'net rpc' categories. In particular, we hope to have the abilty to autoselect the appropriate backend to use based on smb.conf or other paramaters. This will allow 'net user' to work no matter what the remote server. The new 'net rpc' command will soon gain a 'net rpc join' and a 'net rpc user' based on the existing samba code. Also in this commit, the connection establishment code has been almost entirly reworked, and now has some minor sense of sainity to it. In particular, we can now connect to hosts *other* than localhost! We also have the ability to state on a per-command basis whether the 'localhost' is a sane default value. (A net join, for example, would not be sane against localhost). Unfortunetly we have had to make the basic paramaters global variables, but the 'cli' is not opened and closed on a per-command basis. Andrew Bartlett (This used to be commit 8739d426caabe3794a018dd28ab139b08f88b603)
2001-12-03Don't display any data if tdb_fetch() failed in the tdbtool "fetch"Tim Potter1-1/+4
command. (This used to be commit a1cf70ab65058258e56ffcff5b28087b29425b1c)
2001-12-03added nsstest targetAndrew Tridgell1-1/+7
fixed winbindd_rpc.o typo (This used to be commit 2ce7f38fe96c6f5faf45d3c71a3c8d3386ea5107)
2001-12-03fixed default location of libnss_winbind.soAndrew Tridgell1-1/+1
(This used to be commit adc9268216f87d915c9d971137b859c949e150dd)
2001-12-03fixed the nsswitch initgroups codeAndrew Tridgell2-8/+312
added a nsstest test program that directly tests all the nss interfaces using dlopen() (This used to be commit aee19090d3b957372b234a412cd9db8896650feb)
2001-12-03Writing decimal constants as "02" has been shown to cause cancer inMartin Pool2-4/+4
rats. (This used to be commit 142d3dad0ab6870acb0d46d1f189d5e2e1f71b17)
2001-12-03split winbindd_enum_dom_groups into the new backend structureAndrew Tridgell6-95/+144
also created winbindd_rpc.c which contains the functions that have been converted to the new structure. There will soon be a winbindd_ads.c for the ldap backend (This used to be commit e4ccc602ba65838646f2632120069f3274619dd9)
2001-12-03Updated definition of fstring.Tim Potter1-4/+11
print_asc(): Don't try to print a trailing NULL character print_key(), print_rec(): Display key in ASCII (This used to be commit 303b3a35951211775a4e87bcca47cc21236aa422)
2001-12-03re-enabled insure backtrace, calling /usr/bin/backtraceAndrew Tridgell1-2/+4
(This used to be commit 21a366afbe9dc5f4878f97bb03525452bbbc4e41)
2001-12-03init group db before useAndrew Tridgell1-0/+12
this fixes the smbpasswd segvs (This used to be commit d2bcdfd995b9562872d865e723b23ed84247a73f)
2001-12-02added queryuseraliases to rpcclientJean-François Micouleau3-0/+150
and some comments to the samr server code, to explain what we should return here. J.F. (This used to be commit 06cb20a46d9d9f8abf0d92ba4cfa4d23187ad715)
2001-12-02there was a bug in samr_lookup_names (my fault)Jean-François Micouleau1-42/+77
and added comments and some debugs. J.F. (This used to be commit 114eba496fa020a7f491eb549c91fb38ca34dabb)
2001-12-02added mapping of primary gid to rid thru the group mapping code.Jean-François Micouleau5-29/+143
and cleanup and comments in passdb/passdb.c J.F. (This used to be commit 6533339887832ca6dd42d99385c615db7bee3d43)
2001-12-02added samr_query_sec_obj. and put back some code to display a securityJean-François Micouleau1-8/+201
descriptor. added to samr_lookup_name the choice to select the either the builtin (s-1-5-32) domain or our current domain (s-1-5-21-x-y-z) J.F. (This used to be commit d9d1486165591d9f7dad04f197fa692654a17a59)
2001-12-01added samr_query_sec_obj for rpcclientJean-François Micouleau1-0/+46
J.F. (This used to be commit d8809c58614cd97ef78d398645788e41022a8c39)
2001-12-01groups in the Builtin domain S-5-32 are alias and not well-known groupsJean-François Micouleau1-11/+15
J.F. (This used to be commit 192978e3fc96bc60fc3ceaad8f024bc91bf69da7)
2001-12-01removed the #ifdef USING_GROUPNAME_MAP/#endif blocksJean-François Micouleau1-10/+0
that GROUPNAME_MAP has never been used. I'll delete the smbd/groupname.c file too J.F. (This used to be commit 2285e98f205752ec801d11b4bb9afa33e768fd93)
2001-12-01added smbgroupedit to compile by defaultJean-François Micouleau1-1/+1
J.F. (This used to be commit 540a6122dc58a216a94a11a36baa209521dd1981)
2001-12-01The beginnings of alternative backends for winbinddAndrew Tridgell7-67/+112
This just splits off the dispinfo call behind a methods structure. I'll split off a few more functions soon, then we will be ready for LDAP replacement methods (This used to be commit 0216b0fca115c903ec31ed21427a83c62077dc95)
2001-12-01added $(LDFLAGS) to link smbmount/smbmnt/smbumount to make Red Hat LinuxMotonobu Takahashi1-3/+3
happy (This used to be commit 7dfde592aa47f735c08718844db083500b020a60)
2001-12-01not used any moreAndrew Tridgell1-144/+0
(This used to be commit 97627e424a1de3df0a6f7a9bfaaf3ece4dd2036d)
2001-12-01more specific DNS instructionsAndrew Tridgell1-6/+9
(This used to be commit 630e01cafde863beaa367be3c4e01c9c5232b682)
2001-12-01KDC DNS domain must be the kerberos realm. Or so it seems that wayJim McDonough1-0/+3
(This used to be commit e89543c7e90c5303e61674bb4a258176918e0111)
2001-11-30we need to look for liblber before libldapAndrew Tridgell2-665/+678
(This used to be commit 93a652b705e99df6cd493eacb1a8a61a3a2b82f7)
2001-11-30XFS quota patch for Linux.Jeremy Allison4-657/+736
Jeremy. (This used to be commit ce099faf6ce07e14bd9610960bd09f56c5bee864)
2001-11-30merge from APPLIANCE_HEADGerald Carter1-16/+20
(This used to be commit f8b18b25944135c196c8134100f601e84c583382)
2001-11-30Check error returns.Jeremy Allison1-4/+12
Jeremy. (This used to be commit fc8638e89effb0ebf2e40cee8cd0d7467e49e2a8)
2001-11-30Gerald's fix.Jeremy Allison1-6/+2
Jeremy (This used to be commit b0c1fcfc8bae83788c7595931321833bf177ec4b)
2001-11-30After conversations with Andrew, improved the robustness of theJeremy Allison1-26/+53
sharemode db in the following way. Originally, on startup and shutdown, smbd would scan the share mode db to ensure it was correct. This lead to scalability issues as scans lock the db for quite a long time. Andrew had the brainstorm that we only care about the record we're about to read. This new code (small change really, but quite significant) causes get_share_modes() to do a process_exists() call against each pid in each record, and to delete any that don't and re-write the entry if any dead records were detected. This allowed me to remove the startup/shutdown scans of the db (they can be added into smbstatus if anyone really cares to have them back). This will please the vfs author who was worried about the time taken on open() calls, and will lead to much greater robustness and scalability in the share mode db. We need much testing of this, and also netbench tests to ensure the extra process_exists() calls don't hurt performance (they shouldn't it's a very simple system call). Jeremy. (This used to be commit 4098d442030e66601450baeb09ae06b39a1ab571)
2001-11-30preparing for release of 3.0-alpha0Samba Release Account1-412/+76
(This used to be commit ac1889a2bbba99543d3ecdbd897f17657e9ce89f)
2001-11-30Renamed sid field in SEC_ACE to trustee to be more in line with MS'sTim Potter8-46/+58
definitions. (This used to be commit 9712d3f15a47155f558d0034ef71fd06afb11301)
2001-11-30Missing return in free_privilege()Tim Potter1-0/+2
(This used to be commit b35d90cd89849f0a01e8c79f0962ec9388673ad1)
2001-11-30Ensured the %G substitution exactly matches what the man page states.Jeremy Allison1-1/+2
Jeremy. (This used to be commit 518084a70d0b20347411535f1dcf7453981499cf)
2001-11-30Comment deconfusification.Tim Potter1-1/+1
(This used to be commit b5fac3a56d917b13fedc0ace3ea56ae82f51ccdd)
2001-11-29Added close-share message.Jeremy Allison1-1/+10
Jeremy. (This used to be commit 6a10accbcaa130b51381d43cb10c55e86ba2a320)