summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Changed again how the privilege list is handled in the group mapping code.Jean-François Micouleau2001-11-299-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.
* ads->realm must not be NULLAndrew Tridgell2001-11-291-0/+3
| | | | perhaps we should just fail ads_init() in this case?
* define LDAP_PORT when not availableAndrew Tridgell2001-11-291-0/+3
|
* fixed typoAndrew Tridgell2001-11-291-1/+1
|
* Fix up the ./configure tests for kerberos. This ensures a more consistantAndrew Bartlett2001-11-292-667/+657
| | | | | behaviour no matter if kerberos was found automatically, found in the /usr/kerberos path or was specified.
* Make better use of the ads_init() function to get the kerberos relam etc.Andrew Bartlett2001-11-298-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
* I think the lookup_pdc_name() should be called lookup_dc_name() and theTim Potter2001-11-294-27/+37
| | | | | | | | name_status_find() call here should look up a #1c name instead of #1d. This fixes some bugs currently with BDC authentication in winbindd and in smbd as you can't query the #1d name with the ip address of a BDC. Who is Uncle Tom Cobbley anyway?
* fixed toupper_w() and friends on big-endianAndrew Tridgell2001-11-291-6/+6
| | | | this fixes the core dumps on sparc
* 2nd attempt at fixing lame char tables on big endian machinesAndrew Tridgell2001-11-291-6/+6
|
* fixed lame char tables on big endian machinesAndrew Tridgell2001-11-291-5/+5
|
* fixed some krb5 ifdefsAndrew Tridgell2001-11-287-10/+10
|
* merge from APPLIANCE_HEADGerald Carter2001-11-285-21/+53
|
* space -> tab.Jeremy Allison2001-11-281-24/+20
| | | | Jeremy.
* add .po32 files to ignore listHerb Lewis2001-11-283-3/+6
|
* Spelling pedents strike again :-).Jeremy Allison2001-11-281-1/+1
| | | | Jeremy.
* minor updateAndrew Tridgell2001-11-281-1/+1
|
* Allow kerberos to work on RedHat and other non /usr systems againAndrew Bartlett2001-11-281-0/+2
| | | | the configure test uses the CPPFLAGS when checking that krb5.h exists
* fixed a core dump in server level securityAndrew Tridgell2001-11-281-2/+4
|
* Some random updates for the ADS-HOWTOAndrew Bartlett2001-11-281-0/+33
|
* Ensure the CAN_WRITE is checked and prevents O_CREAT and O_TRUNC fromJeremy Allison2001-11-282-2/+11
| | | | | | being set. Also prevent an open on a file on a readonly share from setting delete on close. Jeremy.
* Re-added "Share modes" meaning don't allow deny mode conflict. Due toJeremy Allison2001-11-281-2/+10
| | | | | user demand (don't talk to me about removing parameters.... :-). Jeremy.
* turn off the insure xterm hack for nowAndrew Tridgell2001-11-281-1/+1
|
* Added a 'keys' command to tdbtool which prints out all keys in the tdb.Tim Potter2001-11-281-0/+10
|
* fix a bunch of places where we can double-free a cli structureAndrew Tridgell2001-11-2810-31/+18
|
* Cross merge to make 2.2 and HEAD closer.Jeremy Allison2001-11-281-9/+6
| | | | Jeremy.
* added samr_set_domain_info and samr_unknown_2E.Jean-François Micouleau2001-11-284-42/+448
| | | | | | | | | | | | | | We now get the full account policy window in usermanager, and the framework to store all those values. I plan to add a TDB file to store them. oh, and found that the last value in a sam_unknown_info_12_inf struct is an uint16 and not a uint32. andrewb: you hardcoded the MAX_PASSWORD_AGE to 21 days. We can now turn it to a value setable in usermanager. J.F.
* Some reformatting.Tim Potter2001-11-271-223/+229
| | | | M-x tabify
* always send an OID list until we handle raw (unwrapped) NTLMSSPAndrew Tridgell2001-11-271-6/+15
| | | | packets in session setup
* Fix for the logic bug wrt. existant oplocks. See long messageJeremy Allison2001-11-271-5/+2
| | | | | in samba-technical for explaination. Jeremy.
* up the log level for server level security to try to track down theAndrew Tridgell2001-11-271-2/+1
| | | | segvs in the build farm
* don't use /dev/null for a smbpasswd fileAndrew Tridgell2001-11-271-1/+3
|
* Added negative caching to group lookups.Jeremy Allison2001-11-272-48/+87
| | | | Jeremy.
* added test for krb5.hAndrew Tridgell2001-11-274-88/+147
| | | | | this was causing the kerberos stuff to fail compilation on several platforms
* Added negative caching to the user pw lookup by name and by uid.Jeremy Allison2001-11-272-136/+159
| | | | Jeremy.
* Added PRINTER_ALREADY_EXISTS error check from Gerry.Jeremy Allison2001-11-272-3/+18
| | | | Jeremy
* allow printing of NULL pointers with internal snprintfAndrew Tridgell2001-11-271-0/+1
|
* fixed the panics on basicsmb-sharelist on sun1Andrew Tridgell2001-11-271-1/+3
|
* Fix another memory leak spotted by Tom Jansen.Richard Sharpe2001-11-271-0/+1
|
* sigh.Andrew Tridgell2001-11-271-2/+2
| | | | some systems have libkrb5 but not krb5.h
* nsswitch/winbindd_group.c nsswitch/winbindd_user.c: formatting fixups.Jeremy Allison2001-11-273-29/+30
| | | | | smbd/open.c: Fix "delete on close" for directories. Jeremy.
* reverted incorrect patchAndrew Tridgell2001-11-271-2/+4
|
* fixed leak in free_user_info()Andrew Tridgell2001-11-271-0/+1
|
* another memory leak bites the dustAndrew Tridgell2001-11-271-4/+0
|
* fixed another memory leakAndrew Tridgell2001-11-271-1/+1
|
* prevent a bogus insure wild ptr messageAndrew Tridgell2001-11-271-1/+2
|
* added -i option to nmbd, giving interactive mode (like winbindd)Andrew Tridgell2001-11-271-3/+8
|
* more memory leak fixesAndrew Tridgell2001-11-271-1/+6
|
* unable to open smbpasswd on initial create should only be a warningAndrew Tridgell2001-11-271-1/+1
|
* prevent a memory leak of cli structuresAndrew Tridgell2001-11-272-1/+11
|
* fix sense of lp_allow_trusted_domains()Andrew Tridgell2001-11-273-11/+2
| | | | fix a memory leak