summaryrefslogtreecommitdiffstats
path: root/source/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* I see no reasons why we should limit username lenght while checkingSimo Sorce2001-12-141-4/+0
| | | | | | see bug 22130 jeremy, probably this should be fixed also in 2_2
* Explain why snprintf has to be overridden in this way.Martin Pool2001-12-101-1/+8
|
* Typo spotting.Tim Potter2001-12-101-2/+2
|
* make sid_binstring available without HAVE_ADSAndrew Tridgell2001-12-102-0/+40
|
* add smb_xvasprintf() panic wrapper around vasprintfAndrew Tridgell2001-12-091-3/+13
|
* again an intrusive patch:Jean-François Micouleau2001-12-061-11/+9
| | | | | | | | | | | | | | | - removed the ugly as hell sam_logon_in_ssb variable, I changed a bit the definition of standard_sub_basic() to cope with that. - removed the smb.conf: 'domain admin group' and 'domain guest group' parameters ! We're not playing anymore with the user's group RIDs ! - in get_domain_user_groups(), if the user's gid is a group, put it first in the group RID list. I just have to write an HOWTO now ;-) J.F.
* fixed an off by 1 bug in talloc_asprintf()Andrew Tridgell2001-12-051-1/+1
|
* added a boolean to the group mapping functions to specify if we need orJean-François Micouleau2001-12-041-1/+48
| | | | | | | | | | | | | | | | | | | | | not the privileges. Usually we don't need them, so the memory is free early. lib/util_sid.c: added some helper functions to check an SID. passdb/passdb.c: renamed local_lookup_rid() to local_lookup_sid() and pass an RID all the way. If the group doesn't exist on the domain SID, don't return a faked one as it can collide with a builtin one. Some rpc structures have been badly designed, they return only rids and force the client to do subsequent lsa_lookup_sid() on the domain sid and the builtin sid ! rpc_server/srv_util.c: wrote a new version of get_domain_user_groups(). Only the samr code uses it atm. It uses the group mapping code instead of a bloody hard coded crap. The netlogon code will use it too, but I have to do some test first. J.F.
* moved init_account_policy() to the right placeAndrew Tridgell2001-12-041-1/+5
|
* const religion in talloc callsAndrew Tridgell2001-12-041-2/+2
|
* winbindd friendly user_in_list code. Tested on a 65k user domain.Jeremy Allison2001-12-041-7/+15
| | | | Jeremy.
* Moved name_is_local to the correct place. Ooops.Jeremy Allison2001-12-041-0/+10
| | | | Jeremy.
* Tidyup of lib/username. Add name_is_local fn to determine if name isJeremy Allison2001-12-041-171/+173
| | | | | winbindd. Getting ready for efficiency fix in group lookups. Jeremy.
* added a tdb to store the account policy informations.Jean-François Micouleau2001-12-032-0/+220
| | | | | | | | | | | | | | 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.
* put sid_to_name behind the winbindd backend interfaceAndrew Tridgell2001-12-031-12/+26
| | | | | | | 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 a basic ADS backend to winbind. More work needed, but atAndrew Tridgell2001-12-031-1/+17
| | | | least basic operations work
* re-enabled insure backtrace, calling /usr/bin/backtraceAndrew Tridgell2001-12-031-2/+4
|
* The beginnings of alternative backends for winbinddAndrew Tridgell2001-12-011-0/+17
| | | | | | 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
* Renamed sid field in SEC_ACE to trustee to be more in line with MS'sTim Potter2001-11-301-4/+4
| | | | definitions.
* Ensured the %G substitution exactly matches what the man page states.Jeremy Allison2001-11-301-1/+2
| | | | Jeremy.
* fixed typoAndrew Tridgell2001-11-291-1/+1
|
* 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-281-2/+2
|
* merge from APPLIANCE_HEADGerald Carter2001-11-282-2/+41
|
* turn off the insure xterm hack for nowAndrew Tridgell2001-11-281-1/+1
|
* allow printing of NULL pointers with internal snprintfAndrew Tridgell2001-11-271-0/+1
|
* reverted incorrect patchAndrew Tridgell2001-11-271-2/+4
|
* Got medieval on another pointless extern. Removed extern struct ipzeroTim Potter2001-11-263-9/+21
| | | | | | | and replaced with two functions: void zero_ip(struct in_adder *ip); BOOL is_zero_ip(struct in_addr ip);
* added "net join" commandAndrew Tridgell2001-11-241-0/+31
| | | | this completes the first stage of the smbd ADS support
* More better now.Martin Pool2001-11-231-4/+4
|
* Quieten gcc const warning.Martin Pool2001-11-231-17/+21
| | | | doxyfy.
* Don't initialise static pointers to NULL.Tim Potter2001-11-231-1/+1
|
* Removed TimeInit() call from every client program (except for one placeTim Potter2001-11-231-12/+26
| | | | | in smbd/process.c where the timezone is reinitialised. Was replaced with check for a static is_initialised boolean.
* Merged in JohnR's ping messaging extension.Jeremy Allison2001-11-201-27/+36
| | | | Jeremy.
* added strlcpy() and strlcat()Andrew Tridgell2001-11-201-0/+36
|
* We don't actually use the horror that was lib/util_array.c :-).Jeremy Allison2001-11-201-187/+0
| | | | | More deleted code - hurrah ! Jeremy.
* Rename xmalloc, xmemdup, xstrdup to smb_$1 to avoid conflicts with theMartin Pool2001-11-201-14/+15
| | | | versions defined by libreadline on SCO (!).
* Fix typo.Martin Pool2001-11-191-1/+1
|
* Detect libreadline>=4.0, and set HAVE_NEW_LIBREADLINE. At the momentMartin Pool2001-11-191-5/+10
| | | | | this is only to get the cast right, but it might help with other parts of the API that changed later.
* Added comment about why not to cast the assignment ofTim Potter2001-11-191-3/+6
| | | | rl_attempted_completion_function to rl_completion_function_t.
* LIBDIR and LOCKDIR are dynamically configured too.Martin Pool2001-11-191-4/+9
|
* Oops, Tim says rl_completion_func_t doesn't exist in all versions ofMartin Pool2001-11-191-7/+5
| | | | readline.
* Quieten compiler warnings about a callback function prototype that hasMartin Pool2001-11-191-1/+7
| | | | changed in recent versions of Readline.
* fixed some bugs.Simo Sorce2001-11-182-18/+19
|
* Fixed detection of RedHat headers. Removed another file !Jeremy Allison2001-11-161-212/+0
| | | | Jeremy.
* I *love* removing code :-). Removed 4 files that weren't being used.Jeremy Allison2001-11-162-112/+1
| | | | | | All this stuff was being pulled in due to *one* unneeded call to fetch a domain SID which smbpasswd already puts in the database... Jeremy.
* Tidyups in the merge process.Jeremy Allison2001-11-151-32/+36
| | | | Jeremy.
* FALSE -> FalseTim Potter2001-11-151-1/+1
|