summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* update man page for program changesHerb Lewis2000-10-123-15/+52
| | | | (This used to be commit 1ddfec32562f755f3f4ca4dde54af6a5a2e99978)
* 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. (This used to be commit cda8c0439113dcce02a681b0aaddf69326c0ec9a)
* use macros for incrementing profile countersHerb Lewis2000-10-122-6/+2
| | | | (This used to be commit cae5eeb16e81b6aa95c68223268513c32aed7056)
* 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. sync with 2.2 branch (This used to be commit 45632bb813da06d0139aa32b9ab99d472dcfaf25)
* 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. (This used to be commit b1cb7bec51963ac2ddc62dd1abbf8f8fa4351f9b)
* Fixed %d printf with unsigned long arg.Jeremy Allison2000-10-111-1/+1
| | | | | Jeremy. (This used to be commit 448ff58fd5a88b1fdadfb9a8e0bc5f38b707a4d3)
* Use sys_setgroups - systems with broken getgroups need this.Jeremy Allison2000-10-111-1/+1
| | | | | Jeremy. (This used to be commit c7c90c83372df53eac0f3779dffedd4b28c8c757)
* 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. (This used to be commit f09cb41ad86b233253758de7ef2781589ac07b86)
* 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 -)----- (This used to be commit 56be7c2a49a8a918318a70843fff4e89ec10d0d3)
* Try this again on the right machine. Adding files for PCP samba pmdaHerb Lewis2000-10-119-0/+2714
| | | | (This used to be commit 8ad653f9ebc60c6807c1552425fa83218f6a15d4)
* Renamed WINBINDD_INITGROUPS constant to WINBINDD_GETGROUPS.Tim Potter2000-10-113-3/+3
| | | | (This used to be commit 5f3cf2eb78bfa6fb00890d449d38e9f13964712c)
* sync with 2.2. treeHerb Lewis2000-10-111-1/+1
| | | | (This used to be commit 8586624815f70a4448c001f14e74eabc96dd4d04)
* 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 (This used to be commit bbb24daa25dca4e4b6b1f8942cd84ee3aa1bed8e)
* 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. (This used to be commit e87b2d3d1fb84311d83d21a76900f994e4ff71dd)
* Don't initialise groups twice.Tim Potter2000-10-112-2/+0
| | | | (This used to be commit 15d7f16bdc2ff4f2ae82871eb9f318ba45cf4d1c)
* Remove duplicate group initialisation function.Tim Potter2000-10-111-22/+0
| | | | | Don't initialise groups twice. (This used to be commit 5375261152b28a65de18e817c75cab79c2f556b8)
* Fix to avoid calling getgrgid for no reason.Jeremy Allison2000-10-111-21/+9
| | | | | Jeremy. (This used to be commit b057a7349b2d6420f96a6ebc31822da66b39fe6c)
* 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. (This used to be commit 13395514c632341e7be36eb9589011bb0949b075)
* 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. (This used to be commit e85a0fadd8dcf608822819f00f15569713518806)
* 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. (This used to be commit 6581066b93a674fadf6f9b92441428d2cc8b4a02)
* 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. (This used to be commit b41cc5fea7409d07529adad44f0cbba5c764591c)
* Fixed Realloc memory fragmentation problems.Jeremy Allison2000-10-101-17/+57
| | | | | Jeremy. (This used to be commit 5518f59976ecac796a85db959cb9e8cc6c4d3504)
* Fixed nasty size wrong bug spotted by the eagle eyes ofJeremy Allison2000-10-101-1/+1
| | | | | | JF :-). Jeremy. (This used to be commit 443293a06530d0a5421b39d9a6a224d6ae316bd3)
* Added debug so we can see how winbindd converts SIDS.Jeremy Allison2000-10-101-13/+40
| | | | | Jeremy. (This used to be commit 6696bf203c90dc20c00b47737f5ea1d9b8e23d75)
* Just in case anyone thinks that Win ME is not freally just aGerald Carter2000-10-101-0/+4
| | | | | | | | facelift for Win98/95 jerry (This used to be commit fca30085cc8c84697927e7769251205e10fd31ed)
* a netlogon enum trust query doesn't have a function_code at end.Jean-François Micouleau2000-10-107-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. (This used to be commit 94f4024481fcd0cb6647af1bd4364033be020641)
* got rid of tdb_writelock() and instead lock a chain. tdb_writelock()Andrew Tridgell2000-10-104-39/+16
| | | | | is conceptually flawed (This used to be commit 6e4a3585521b7e5928298bd0f1418ff9fbcacfb4)
* added tdb_lock_bystring() and tdb_unlock_bystring()Andrew Tridgell2000-10-101-0/+24
| | | | (This used to be commit ca443210c84575d39e60c38a7a12d037386d0e38)
* don't use gets() !Andrew Tridgell2000-10-101-2/+2
| | | | (This used to be commit e4ea0a5975d3539803c78cac2229550a6e89c4b4)
* Fixes to allow wins.c to compile to allow building of libnss_wins.so.John Terpstra2000-10-092-2/+14
| | | | (This used to be commit 3fb2e94c4430c570639c0e4d1caeed3a19bbd09b)
* I introduced a bug in my last commits. Hopefully nobody noticed :-)Jean-François Micouleau2000-10-091-2/+2
| | | | | J.F. (This used to be commit 044246fe7e40d83673120dc14b5d6572e6c23142)
* Missing conn parameter missed in vfs rewrite.Jeremy Allison2000-10-091-1/+1
| | | | | Jeremy. (This used to be commit 4eecc63be5bd11590972ee4f446b7a80d46a713b)
* sys_popen got damaged when converted from FILE * to int fd I think.Jeremy Allison2000-10-081-14/+3
| | | | | | Patrick Powell kindly pointed out the bug. Jeremy. (This used to be commit 1f156b2420b7ecf1266e650efc3cee55362e29dd)
* more cleanup of samrJean-François Micouleau2000-10-071-62/+65
| | | | | J.F. (This used to be commit c49cc884458d6efa0f7f4b1e40f7d98d84836e77)
* added samr_set_user_info and info_2.Jean-François Micouleau2000-10-079-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. (This used to be commit b655bc281fa183b1827a946ada1fcf500fb93aea)
* Ensure browse.dat is written and read in UNIX character set format.Jeremy Allison2000-10-072-3/+14
| | | | | Jeremy. (This used to be commit 279d0ec656b03f9266e38b013f16b69e7571c0d5)
* Integrated support for NT and OS/2 lpq parsing. Code fromJeremy Allison2000-10-073-1/+168
| | | | | | | | | | Jim McDonough Infoprint Manager Development Linux Technology Center IBM Boulder Jeremy. (This used to be commit d9eedd5db1728be8e23d73c954db13bbbcadf3fb)
* Fix for yp_get_default_domain from Neil Hoggarth ↵Jeremy Allison2000-10-074-380/+494
| | | | | | | <neil.hoggarth@physiol.ox.ac.uk> Jeremy. (This used to be commit 44ed8abb2a9f2197b18565dd23a2795faf8fe241)
* Fix for printf attribute from Mattias Gronlund <Mattias.Gronlund@sa.erisoft.se>Jeremy Allison2000-10-065-8/+13
| | | | | | Added "codepage directory" patch from Peter.Polkinghorne@brunel.ac.uk Jeremy. (This used to be commit e49566c2e21fcd16980e5110495645c5ae5a36da)
* Added Herb's fixes to HEAD.Jeremy Allison2000-10-065-9/+99
| | | | | Jeremy. (This used to be commit 4862d2ab1163310d844b929fb17239b4f4cb1a99)
* Fix from RFritz@lbl.gov for Linux ECONREFUSED async errors on Linux.Jeremy Allison2000-10-061-2/+10
| | | | | Jeremy. (This used to be commit dd804fdb96ff49645647787c197a61a6515a474d)
* Print socket options - patch from Dave Collier-Brown @ Sun.Jeremy Allison2000-10-061-2/+23
| | | | | Jeremy. (This used to be commit c18d6f8701c8e6ca03f9fff79cf28c842b3b5ff9)
* Fixed error return messages needed for NTTrans CreateDirectory.Jeremy Allison2000-10-061-0/+16
| | | | | | | This patch allows the standard W2k recursive mkdir to work against Samba. Jeremy. (This used to be commit 947102784360c65d51441457bb54aa28d2b4452d)
* Proto update. Also fix from John Reilly @ HP for not showing APW with W2K.Jeremy Allison2000-10-062-7/+15
| | | | | Jeremy. (This used to be commit 698288cb9de316527c0c2a271e18c920578f9930)
* Herb's warning fixes. Also the POSIX locking fix.Jeremy Allison2000-10-0619-173/+250
| | | | | | We now use our own vfs layer to do get/set acl calls (hurrah!). Jeremy. (This used to be commit dfe77c7046cbd65ee52aea7439f21503c1eac41d)
* global_myname is actually a pstring.Tim Potter2000-10-061-1/+1
| | | | (This used to be commit e451fd346105d5d34354ff9141d445b5f1a82e0a)
* Inlined many of the vfs_XXX calls as macros for speed.Jeremy Allison2000-10-063-70/+41
| | | | | Jeremy. (This used to be commit 0811d080abd374f47c7c3c8a1ef007e443e5b79c)
* Restructuring of vfs layer to include a "this" pointer - can be an fsp orJeremy Allison2000-10-0622-517/+839
| | | | | | | | | | | | | | | | a conn struct depending on the call. We need this to have a clean NT ACL call interface. This will break any existing VFS libraries (that's why this is pre-release code). Andrew gets credit for this one :-) :-). In addition - added Herb's WITH_PROFILE changes - Herb - please examine the changes I've made to the smbd/reply.c code you added. The original code was very ugly and I have replaced it with a START_PROFILE(x)/END_PROFILE(x) pair using the preprocessor. Please check this compiles ok with the --with-profile switch. Jeremy. (This used to be commit b07611f8159b0b3f42e7e02611be9f4d56de96f5)
* Fix for null passwords being allowed bug.Jeremy Allison2000-10-051-4/+8
| | | | | Jeremy. (This used to be commit d4d55488397832df35b558564c263a307b0bb629)
* Fixes from Damian at Cisco to tidy up some tdbtool issues.Jeremy Allison2000-10-051-4/+15
| | | | | Jeremy. (This used to be commit 623bfa6c935e2e3acb3145bfbd490758b34d2c70)