Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | last part of W2K support. | Jean-François Micouleau | 2000-10-13 | 9 | -51/+97 |
| | | | | | | | | | | | | the trust domain list reply on netlogon pipe was wrong, interim hack until we have full trust relationships. changed some unistr2 to parse the ending NULL char. added a prs_align_needed() function. much like a prs_align but with a condition. needed for the unistr2 parsing. J.F. | ||||
* | Fixed merging mess. | Tim Potter | 2000-10-13 | 1 | -1/+22 |
| | |||||
* | Fix to allow smbd to call winbindd if it is running for all group enumeration, | Jeremy Allison | 2000-10-13 | 8 | -253/+457 |
| | | | | | | | | 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. | ||||
* | Fix to allow smbd to call winbindd if it is running for all group enumeration, | Jeremy Allison | 2000-10-13 | 1 | -2/+2 |
| | | | | | | 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. Jeremy. | ||||
* | Ignore SIGUSR2. Terminate nmbd if we have no interfaces. | Jeremy Allison | 2000-10-12 | 2 | -5/+24 |
| | | | | Jeremy. | ||||
* | allow "master" smbd to call message_init so it is not killed by messages | Herb Lewis | 2000-10-12 | 1 | -4/+4 |
| | | | | | | sent to it's PID Jeremy or Andrew please check this out for other possible side effects. | ||||
* | update man page for program changes | Herb Lewis | 2000-10-12 | 3 | -15/+52 |
| | |||||
* | lib/messages.c add debug print for receipt of PING and | Herb Lewis | 2000-10-12 | 2 | -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 counters | Herb Lewis | 2000-10-12 | 2 | -6/+2 |
| | |||||
* | print source PID in PONG and debuglevel message. Allow request debuglevel | Herb Lewis | 2000-10-12 | 1 | -10/+30 |
| | | | | | | message to go to any dest. Put timeout for commands that expect a reply. sync with 2.2 branch | ||||
* | Turns out we do need the pwnam check as on many systems the users | Jeremy Allison | 2000-10-11 | 1 | -0/+7 |
| | | | | | primary group is not listed in the groups file... Jeremy. | ||||
* | Fixed %d printf with unsigned long arg. | Jeremy Allison | 2000-10-11 | 1 | -1/+1 |
| | | | | Jeremy. | ||||
* | Use sys_setgroups - systems with broken getgroups need this. | Jeremy Allison | 2000-10-11 | 1 | -1/+1 |
| | | | | Jeremy. | ||||
* | Simple cleanup, but I also changed the value of the dlevel parameter passed | Christopher R. Hertel | 2000-10-11 | 1 | -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. Hertel | 2000-10-11 | 1 | -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 -)----- | ||||
* | Try this again on the right machine. Adding files for PCP samba pmda | Herb Lewis | 2000-10-11 | 9 | -0/+2714 |
| | |||||
* | Renamed WINBINDD_INITGROUPS constant to WINBINDD_GETGROUPS. | Tim Potter | 2000-10-11 | 3 | -3/+3 |
| | |||||
* | sync with 2.2. tree | Herb Lewis | 2000-10-11 | 1 | -1/+1 |
| | |||||
* | changes to sync with 2.2. tree | Herb Lewis | 2000-10-11 | 14 | -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 of | Tim Potter | 2000-10-11 | 2 | -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 Potter | 2000-10-11 | 2 | -2/+0 |
| | |||||
* | Remove duplicate group initialisation function. | Tim Potter | 2000-10-11 | 1 | -22/+0 |
| | | | | Don't initialise groups twice. | ||||
* | Fix to avoid calling getgrgid for no reason. | Jeremy Allison | 2000-10-11 | 1 | -21/+9 |
| | | | | Jeremy. | ||||
* | Fix for growing printing.tdb by adding check on job creation. | Jeremy Allison | 2000-10-11 | 4 | -17/+56 |
| | | | | | This also updates the printing.tdb db version to 2. Jeremy. | ||||
* | Remove lpq as root fix - do this in print_job_start instead | Jeremy Allison | 2000-10-11 | 4 | -39/+0 |
| | | | | | as part of print queue length processing. Jeremy. | ||||
* | Fixes to periodically scan printing.tdb in idle time and occasionally | Jeremy Allison | 2000-10-10 | 4 | -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 being | Jeremy Allison | 2000-10-10 | 1 | -3/+18 |
| | | | | | confused. check_printer_ok was causing SETPRINTER calls to fail. Jeremy. | ||||
* | Fixed Realloc memory fragmentation problems. | Jeremy Allison | 2000-10-10 | 1 | -17/+57 |
| | | | | Jeremy. | ||||
* | Fixed nasty size wrong bug spotted by the eagle eyes of | Jeremy Allison | 2000-10-10 | 1 | -1/+1 |
| | | | | | JF :-). Jeremy. | ||||
* | Added debug so we can see how winbindd converts SIDS. | Jeremy Allison | 2000-10-10 | 1 | -13/+40 |
| | | | | Jeremy. | ||||
* | Just in case anyone thinks that Win ME is not freally just a | Gerald Carter | 2000-10-10 | 1 | -0/+4 |
| | | | | | | | facelift for Win98/95 jerry | ||||
* | a netlogon enum trust query doesn't have a function_code at end. | Jean-François Micouleau | 2000-10-10 | 7 | -26/+58 |
| | | | | | | | | a sam_user_info_24 doesn't have a uint16 at end samr_create_user also creates the unix account now samr_set_userinfo changes the password. J.F. | ||||
* | got rid of tdb_writelock() and instead lock a chain. tdb_writelock() | Andrew Tridgell | 2000-10-10 | 4 | -39/+16 |
| | | | | is conceptually flawed | ||||
* | added tdb_lock_bystring() and tdb_unlock_bystring() | Andrew Tridgell | 2000-10-10 | 1 | -0/+24 |
| | |||||
* | don't use gets() ! | Andrew Tridgell | 2000-10-10 | 1 | -2/+2 |
| | |||||
* | Fixes to allow wins.c to compile to allow building of libnss_wins.so. | John Terpstra | 2000-10-09 | 2 | -2/+14 |
| | |||||
* | I introduced a bug in my last commits. Hopefully nobody noticed :-) | Jean-François Micouleau | 2000-10-09 | 1 | -2/+2 |
| | | | | J.F. | ||||
* | Missing conn parameter missed in vfs rewrite. | Jeremy Allison | 2000-10-09 | 1 | -1/+1 |
| | | | | Jeremy. | ||||
* | sys_popen got damaged when converted from FILE * to int fd I think. | Jeremy Allison | 2000-10-08 | 1 | -14/+3 |
| | | | | | Patrick Powell kindly pointed out the bug. Jeremy. | ||||
* | more cleanup of samr | Jean-François Micouleau | 2000-10-07 | 1 | -62/+65 |
| | | | | J.F. | ||||
* | added samr_set_user_info and info_2. | Jean-François Micouleau | 2000-10-07 | 9 | -261/+1697 |
| | | | | | | | | | | | | | | cleanup of create_user cleanup of rid/sid mix in samr. now we only have sid. some prs_align() missing in parse_samr.c a small debug change in srv_pipe.c You still can't change a user's password in this commit. Will be availble in the next one. J.F. | ||||
* | Ensure browse.dat is written and read in UNIX character set format. | Jeremy Allison | 2000-10-07 | 2 | -3/+14 |
| | | | | Jeremy. | ||||
* | Integrated support for NT and OS/2 lpq parsing. Code from | Jeremy Allison | 2000-10-07 | 3 | -1/+168 |
| | | | | | | | | | Jim McDonough Infoprint Manager Development Linux Technology Center IBM Boulder Jeremy. | ||||
* | Fix for yp_get_default_domain from Neil Hoggarth ↵ | Jeremy Allison | 2000-10-07 | 4 | -380/+494 |
| | | | | | | <neil.hoggarth@physiol.ox.ac.uk> Jeremy. | ||||
* | Fix for printf attribute from Mattias Gronlund <Mattias.Gronlund@sa.erisoft.se> | Jeremy Allison | 2000-10-06 | 5 | -8/+13 |
| | | | | | Added "codepage directory" patch from Peter.Polkinghorne@brunel.ac.uk Jeremy. | ||||
* | Added Herb's fixes to HEAD. | Jeremy Allison | 2000-10-06 | 5 | -9/+99 |
| | | | | Jeremy. | ||||
* | Fix from RFritz@lbl.gov for Linux ECONREFUSED async errors on Linux. | Jeremy Allison | 2000-10-06 | 1 | -2/+10 |
| | | | | Jeremy. | ||||
* | Print socket options - patch from Dave Collier-Brown @ Sun. | Jeremy Allison | 2000-10-06 | 1 | -2/+23 |
| | | | | Jeremy. | ||||
* | Fixed error return messages needed for NTTrans CreateDirectory. | Jeremy Allison | 2000-10-06 | 1 | -0/+16 |
| | | | | | | This patch allows the standard W2k recursive mkdir to work against Samba. Jeremy. | ||||
* | Proto update. Also fix from John Reilly @ HP for not showing APW with W2K. | Jeremy Allison | 2000-10-06 | 2 | -7/+15 |
| | | | | Jeremy. |