summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| * Fixed %d printf with unsigned long arg.Jeremy Allison2000-10-111-1/+1
| | | | | | | | Jeremy.
| * Use sys_setgroups - systems with broken getgroups need this.Jeremy Allison2000-10-111-1/+1
| | | | | | | | Jeremy.
| * Simple cleanup, but I also changed the value of the dlevel parameter passedChristopher R. Hertel2000-10-111-5/+5
| | | | | | | | | | | | | | | | | | | | to open_socket_in() from within the open_sockets() function. This has some effect on the way port numbers are assigned. Basically, if we use the -r switch we are saying 'use port 137'. If we can't do that, there should be an error message and a failure. If we don't use -r then we simply select the first available port. The way it was working, if we selected -r and port 137 was in use, wierd things would happen as open_socket_in() tried to find another port.
| * Converted to call lib/wins_srv.c:wins_srv_ip() instead of lp_wins_server()Christopher R. Hertel2000-10-111-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | when looking up the WINS server address. Please *don't* use lp_wins_server() any more! The wins_srv_ip() function has the following features: - If the WINS server was entered as a DNS name then the translation to an IP address will already have taken place. We used to do this every time a call to the WINS server was made. Ick. - The return value of wins_srv_ip() is a struct in_addr. Ready to go. - When WINS failover is fully implemented, you'll be able to enter a colon- separated list of WINS servers via the WINS SERVER parameter. Using lp_wins_server() directly will fail if this syntax is used. Chris -)-----
* | Even when looking up a users groups via winbindd even if the lookup forJeremy Allison2000-10-251-2/+2
| | | | | | | | | | | | | | | | the list of groups a user is in succeeds via winbind, we must allow the lookup of the group name -> gid we are checking if the user is a member of to go via winbind or /etc/group - as it may be a group on the local box we are checking against. This is a subtle one..... Jeremy.
* | We already have a perfectly good next_token() function we should be usingJeremy Allison2000-10-251-6/+3
| | | | | | | | | | | | | | instead of strtok - this fixes a bug with NT users with spaces in their names when using winbindd. Needs to be added to the other parse_lpXX functions (currently only added to lprng parsing code). Jeremy.
* | Fix for uidtoname not returning DOMAIN\name but just name. This causedJeremy Allison2000-10-251-2/+9
| | | | | | | | | | printer_access_check to break in a domain environment. Jeremy.
* | John Reilly @ HP (who is a wonderful human being and *definately* needsJeremy Allison2000-10-253-56/+189
| | | | | | | | | | | | | | | | CVS commit access :-) has written a simple routine that peeks inside the MS PE printer driver file format and can tell if a driver is W2K or NT4.x. So we can now correctly return the driver version number. Hurrah ! JF - this is the code you always wanted ..... :-) :-). Jeremy.
* | merge from HEADGerald Carter2000-10-251-7/+29
| | | | | | | | jerry
* | Removed erroneous +1's on length of unicode domain names for variousTim Potter2000-10-251-2/+2
| | | | | | | | functions in the \\lsarpc pipe.
* | Fixes for extra stat's broght back from HEAD. This cuts down on theJeremy Allison2000-10-2512-237/+287
| | | | | | | | | | | | | | number of stats per smb call as we now trust the statcache. There are more optimizations to come.... Also generic merges to keep 2.2.0 and HEAD in sync. Jeremy.
* | Remove WINS patch - no longer needed.John Terpstra2000-10-241-2/+2
| |
* | Yeah - not setting getwd_cache to True as default, that'd do it for a 5xJeremy Allison2000-10-241-1/+1
| | | | | | | | | | | | performance hit..... :-) :-). Jeremy. PS. Yes this was my fault for everyone who wants to throw rotten fruit...
* | Fixes from David Lee for utmp handling.Jeremy Allison2000-10-214-496/+1138
| | | | | | | | Jeremy.
* | Merge from HEAD of the printer fixes.Jeremy Allison2000-10-215-9/+38
| | | | | | | | Jeremy.
* | Fix missing bracket on debug statementDavid O'Neill2000-10-201-1/+1
| |
* | Fix from Christopher Hertel:David O'Neill2000-10-181-1/+2
| | | | | | | | | | | | | | Bug report that on some systems extended characters are being returned as negative values from the mygetc() function. I've modified the return line so that it should return values in the 0..255 range for legitimate characters.
* | Fixes to get ms-dfs code to compile with the new changes.Jeremy Allison2000-10-131-2/+3
| | | | | | | | Jeremy.
* | JF's fix'es for W2K domain support ! Hurrah !Jeremy Allison2000-10-1310-52/+119
| | | | | | | | Jeremy.
* | Fixed incorrect order of args to call of winbind_nametogidDavid O'Neill2000-10-131-1/+1
| |
* | Fix to allow smbd to call winbindd if it is running for all group enumeration,Jeremy Allison2000-10-139-254/+456
| | | | | | | | | | | | | | | | falling back to the UNIX calls on error. This should fix all problems with smbd enumerating all users in all groups in all trusted domains via winbindd. Also changed GETDC to query 1C name rather than 1b name as only the PDC registers 1b. Jeremy.
* | Ignore SIGUSR2. Terminate nmbd if we have no interfaces.Jeremy Allison2000-10-122-5/+24
| | | | | | | | Jeremy.
* | have "master smbd call message_init so it is not killed by messages sentHerb Lewis2000-10-121-4/+4
| | | | | | | | | | | | to it's PID. Jeremy or Andrew - please check this out for other possible side effects
* | update man page for program changesHerb Lewis2000-10-123-21/+21
| |
* | lib/messages.c add debug print for receipt of PING andHerb Lewis2000-10-122-1/+4
| | | | | | | | | | | | REQ_DEBUGLEVEL messages utils/smbcontrol.c allow "q" to exit interactive mode. Exit on error from message_init.
* | use macros for incrementing profile countersHerb Lewis2000-10-122-6/+2
| |
* | print source PID in PONG and debuglevel message. Allow request debuglevelHerb Lewis2000-10-121-10/+30
| | | | | | | | message to go to any dest. Put timeout for commands that expect a reply.
* | Turns out we do need the pwnam check as on many systems the usersJeremy Allison2000-10-111-0/+7
| | | | | | | | | | primary group is not listed in the groups file... Jeremy.
* | Brought Tim's new initgroups winbind functionality. Now need to fixJeremy Allison2000-10-118-34/+170
| | | | | | | | | | Samba to never call getgrgid/getgrnam when winbindd is running.... Jeremy.
* | couple more typosHerb Lewis2000-10-112-3/+3
| |
* | fix error in testing return codeHerb Lewis2000-10-112-4/+4
| |
* | make pcp Install and Remove script executableHerb Lewis2000-10-111-1/+1
| |
* | adding files for PCP samba pmdaHerb Lewis2000-10-112-3/+0
| |
* | This commit was manufactured by cvs2svn to create branch 'SAMBA_2_2'.cvs2svn Import User2000-10-119-0/+2714
|\|
| * Try this again on the right machine. Adding files for PCP samba pmdaHerb Lewis2000-10-119-0/+2714
| |
| * Renamed WINBINDD_INITGROUPS constant to WINBINDD_GETGROUPS.Tim Potter2000-10-113-3/+3
| |
| * sync with 2.2. treeHerb Lewis2000-10-111-1/+1
| |
| * changes to sync with 2.2. treeHerb Lewis2000-10-1114-47/+205
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | .cvsignore remove config.h - not in this directory include/profile.h profile changes lib/messages.c added message to return debug level libsmb/clierror.c cast to get rid of compiler warning libsmb/smbencrypt.c cast to get rid of compiler warning profile/profile.c add flush profile stats changes for profile struct rpc_parse/parse_samr.c fix for compiler warning rpc_server/srv_samr.c cast to get rid of compiler warning smbd/ipc.c profile stats message.c profile stats smbd/negprot.c profile stats smbd/nttrans.c profile stats smbd/trans2.c profile stats utils/smbcontrol.c new flush stats command
| * Modified initgroups to provide a get groups a user is a member ofTim Potter2000-10-112-7/+166
| | | | | | | | | | | | functionality. This is much faster than inverting the group database. Added client side command for this to wbinfo.
| * Don't initialise groups twice.Tim Potter2000-10-112-2/+0
| |
| * Remove duplicate group initialisation function.Tim Potter2000-10-111-22/+0
| | | | | | | | Don't initialise groups twice.
| * Fix to avoid calling getgrgid for no reason.Jeremy Allison2000-10-111-21/+9
| | | | | | | | Jeremy.
| * Fix for growing printing.tdb by adding check on job creation.Jeremy Allison2000-10-114-17/+56
| | | | | | | | | | This also updates the printing.tdb db version to 2. Jeremy.
| * Remove lpq as root fix - do this in print_job_start insteadJeremy Allison2000-10-114-39/+0
| | | | | | | | | | as part of print queue length processing. Jeremy.
| * Fixes to periodically scan printing.tdb in idle time and occasionallyJeremy Allison2000-10-104-1/+53
| | | | | | | | | | | | | | on exit. Needed to fix printing.tdb from groving to 300Mb+ if being driven by smbclient clients that never ask for status... (effective DOS attack :-). Jeremy.
| * Fix found by Andrew to stop local/remote printers beingJeremy Allison2000-10-101-3/+18
| | | | | | | | | | confused. check_printer_ok was causing SETPRINTER calls to fail. Jeremy.
| * Fixed Realloc memory fragmentation problems.Jeremy Allison2000-10-101-17/+57
| | | | | | | | Jeremy.
| * Fixed nasty size wrong bug spotted by the eagle eyes ofJeremy Allison2000-10-101-1/+1
| | | | | | | | | | JF :-). Jeremy.
| * Added debug so we can see how winbindd converts SIDS.Jeremy Allison2000-10-101-13/+40
| | | | | | | | Jeremy.
* | Fix to avoid calling getgrgid for no reason.Jeremy Allison2000-10-111-21/+9
| | | | | | | | Jeremy.