Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | winbindd friendly user_in_list code. Tested on a 65k user domain. | Jeremy Allison | 2001-12-04 | 1 | -7/+15 | |
| | | | | Jeremy. | |||||
* | Add 'net rpc join' to match the ADS equiv. | Andrew Bartlett | 2001-12-04 | 6 | -308/+327 | |
| | | | | | | | | | | | | | | | | This kills off the offending code in smbpasswd -j -Uab%c In the process we have changed from unsing compelatly random passwords to random, 15 char ascii strings. While this does produce a decrese in entropy, it is still vastly greater than we need, considering the application. In the meantime this allows us to actually *type* the machine account password duruign debugging. This code also adds a 'check' step to the join, confirming that the stored password does indeed do somthing of value :-) Andrew Bartlett | |||||
* | Some changes to the name resolution code in 'net' to allow us to find a | Andrew Bartlett | 2001-12-04 | 2 | -25/+47 | |
| | | | | | | PDC, as well as changes for correctness as per tridge. Andrew Bartlett | |||||
* | Fix up funtion name, as this finds local, not domain master browsers. | Andrew Bartlett | 2001-12-04 | 1 | -2/+2 | |
| | | | | (as per tridge's instructions) | |||||
* | This comment no longer applies. | Andrew Bartlett | 2001-12-04 | 1 | -1/+0 | |
| | ||||||
* | Magic file for TDB databases. | Martin Pool | 2001-12-04 | 1 | -0/+10 | |
| | ||||||
* | Stop using getgrgid() - a very expensive call with winbindd, to look up | Jeremy Allison | 2001-12-04 | 1 | -13/+10 | |
| | | | | | a group name. Jeremy. | |||||
* | Moved name_is_local to the correct place. Ooops. | Jeremy Allison | 2001-12-04 | 2 | -10/+10 | |
| | | | | Jeremy. | |||||
* | Set errno in tdb_open in cases where we detect an error in opening the | Martin Pool | 2001-12-04 | 2 | -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. | |||||
* | Tidyup of lib/username. Add name_is_local fn to determine if name is | Jeremy Allison | 2001-12-04 | 2 | -171/+183 | |
| | | | | | winbindd. Getting ready for efficiency fix in group lookups. Jeremy. | |||||
* | Added error message for ERRdiskfull. | Tim Potter | 2001-12-04 | 1 | -0/+1 | |
| | ||||||
* | when using non-encrypted password ignore the ntpass variable to | Andrew Tridgell | 2001-12-04 | 1 | -2/+2 | |
| | | | | session setup | |||||
* | Added prototypes for new fns. Thanks Elrond. | Jeremy Allison | 2001-12-03 | 1 | -0/+7 | |
| | | | | Jeremy. | |||||
* | added a tdb to store the account policy informations. | Jean-François Micouleau | 2001-12-03 | 11 | -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. | |||||
* | changed query_dispinfo to query_user_list | Andrew Tridgell | 2001-12-03 | 4 | -23/+23 | |
| | ||||||
* | put sid_to_name behind the winbindd backend interface | Andrew Tridgell | 2001-12-03 | 7 | -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 | |||||
* | added name_to_sid to the backend | Andrew Tridgell | 2001-12-03 | 10 | -111/+186 | |
| | ||||||
* | const religion | Andrew Tridgell | 2001-12-03 | 2 | -3/+3 | |
| | ||||||
* | added another ATYPE_ | Andrew Tridgell | 2001-12-03 | 1 | -1/+2 | |
| | ||||||
* | make proto should build winbindd_proto.h as well | Andrew Tridgell | 2001-12-03 | 1 | -1/+1 | |
| | ||||||
* | This change reworkes the connection code for both rpcclient and net new | Andrew Bartlett | 2001-12-03 | 4 | -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 | |||||
* | Forgot this one with the last commit... | Andrew Bartlett | 2001-12-03 | 1 | -0/+36 | |
| | | | | Andrew Bartlett | |||||
* | added a basic ADS backend to winbind. More work needed, but at | Andrew Tridgell | 2001-12-03 | 7 | -22/+335 | |
| | | | | least basic operations work | |||||
* | This is another major rework of the 'net' command. | Andrew Bartlett | 2001-12-03 | 4 | -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 | |||||
* | Don't display any data if tdb_fetch() failed in the tdbtool "fetch" | Tim Potter | 2001-12-03 | 1 | -1/+4 | |
| | | | | command. | |||||
* | added nsstest target | Andrew Tridgell | 2001-12-03 | 1 | -1/+7 | |
| | | | | fixed winbindd_rpc.o typo | |||||
* | fixed default location of libnss_winbind.so | Andrew Tridgell | 2001-12-03 | 1 | -1/+1 | |
| | ||||||
* | fixed the nsswitch initgroups code | Andrew Tridgell | 2001-12-03 | 2 | -8/+312 | |
| | | | | | added a nsstest test program that directly tests all the nss interfaces using dlopen() | |||||
* | Writing decimal constants as "02" has been shown to cause cancer in | Martin Pool | 2001-12-03 | 2 | -4/+4 | |
| | | | | rats. | |||||
* | split winbindd_enum_dom_groups into the new backend structure | Andrew Tridgell | 2001-12-03 | 6 | -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 | |||||
* | Updated definition of fstring. | Tim Potter | 2001-12-03 | 1 | -4/+11 | |
| | | | | | print_asc(): Don't try to print a trailing NULL character print_key(), print_rec(): Display key in ASCII | |||||
* | re-enabled insure backtrace, calling /usr/bin/backtrace | Andrew Tridgell | 2001-12-03 | 1 | -2/+4 | |
| | ||||||
* | init group db before use | Andrew Tridgell | 2001-12-03 | 1 | -0/+12 | |
| | | | | this fixes the smbpasswd segvs | |||||
* | added queryuseraliases to rpcclient | Jean-François Micouleau | 2001-12-02 | 3 | -0/+150 | |
| | | | | | | | and some comments to the samr server code, to explain what we should return here. J.F. | |||||
* | there was a bug in samr_lookup_names (my fault) | Jean-François Micouleau | 2001-12-02 | 1 | -42/+77 | |
| | | | | | | and added comments and some debugs. J.F. | |||||
* | added mapping of primary gid to rid thru the group mapping code. | Jean-François Micouleau | 2001-12-02 | 5 | -29/+143 | |
| | | | | | | | and cleanup and comments in passdb/passdb.c J.F. | |||||
* | added samr_query_sec_obj. and put back some code to display a security | Jean-François Micouleau | 2001-12-02 | 1 | -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. | |||||
* | added samr_query_sec_obj for rpcclient | Jean-François Micouleau | 2001-12-01 | 1 | -0/+46 | |
| | | | | J.F. | |||||
* | groups in the Builtin domain S-5-32 are alias and not well-known groups | Jean-François Micouleau | 2001-12-01 | 1 | -11/+15 | |
| | | | | J.F. | |||||
* | removed the #ifdef USING_GROUPNAME_MAP/#endif blocks | Jean-François Micouleau | 2001-12-01 | 1 | -10/+0 | |
| | | | | | | | | that GROUPNAME_MAP has never been used. I'll delete the smbd/groupname.c file too J.F. | |||||
* | added smbgroupedit to compile by default | Jean-François Micouleau | 2001-12-01 | 1 | -1/+1 | |
| | | | | J.F. | |||||
* | The beginnings of alternative backends for winbindd | Andrew Tridgell | 2001-12-01 | 7 | -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 | |||||
* | added $(LDFLAGS) to link smbmount/smbmnt/smbumount to make Red Hat Linux | Motonobu Takahashi | 2001-12-01 | 1 | -3/+3 | |
| | | | | happy | |||||
* | not used any more | Andrew Tridgell | 2001-12-01 | 1 | -144/+0 | |
| | ||||||
* | more specific DNS instructions | Andrew Tridgell | 2001-12-01 | 1 | -6/+9 | |
| | ||||||
* | KDC DNS domain must be the kerberos realm. Or so it seems that way | Jim McDonough | 2001-12-01 | 1 | -0/+3 | |
| | ||||||
* | we need to look for liblber before libldap | Andrew Tridgell | 2001-11-30 | 2 | -665/+678 | |
| | ||||||
* | XFS quota patch for Linux. | Jeremy Allison | 2001-11-30 | 4 | -657/+736 | |
| | | | | Jeremy. | |||||
* | merge from APPLIANCE_HEAD | Gerald Carter | 2001-11-30 | 1 | -16/+20 | |
| | ||||||
* | Check error returns. | Jeremy Allison | 2001-11-30 | 1 | -4/+12 | |
| | | | | Jeremy. |