summaryrefslogtreecommitdiff
path: root/source3
AgeCommit message (Collapse)AuthorFilesLines
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-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-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-29Changed again how the privilege list is handled in the group mapping code.Jean-François Micouleau9-155/+850
This time it's a PRIVILEGE_SET struct instead of a simple uint32 array. It makes much more sense. Also added a uint32 systemaccount to the GROUP_MAP struct as some privilege showing in USRMGR.EXE are not real privs but a bitmask flag. I guess it's an heritage from NT 3.0 ! I could setup an NT 3.1 box to verify, but I'm too lazy (yes I still have my CDs). Added 3 more LSA calls: SetSystemAccount, AddPrivileges and RemovePrivileges, we can manage all this privilege from UserManager. Time to change the NT_USER_TOKEN struct and add checks in all the rpc functions. Fun, fun, fun. J.F. (This used to be commit 3f0a9ef2b8c626cfa2878394bb7b642342342bf3)
2001-11-29ads->realm must not be NULLAndrew Tridgell1-0/+3
perhaps we should just fail ads_init() in this case? (This used to be commit 2a4ce3de6ae8fb833370d1f9d6e5e7193fafa979)
2001-11-29define LDAP_PORT when not availableAndrew Tridgell1-0/+3
(This used to be commit 5a5f140f84f4dd377d141e352f4cb7f9bea4fe64)
2001-11-29fixed typoAndrew Tridgell1-1/+1
(This used to be commit 624cb28271289aa697f23c32f7b5159f6fcbb51d)
2001-11-29Fix up the ./configure tests for kerberos. This ensures a more consistantAndrew Bartlett2-667/+657
behaviour no matter if kerberos was found automatically, found in the /usr/kerberos path or was specified. (This used to be commit 4e212f728c429b986bb3e2230fbc9cd4bcf6dd40)
2001-11-29Make better use of the ads_init() function to get the kerberos relam etc.Andrew Bartlett8-127/+221
This allows us to use automagically obtained values in future, and the value from krb5.conf now. Also fix mem leaks etc. Andrew Bartlett (This used to be commit 8f9ce717819235d98a1463f20ac659cb4b4ebbd2)