summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2000-10-12lib/messages.c add debug print for receipt of PING andHerb Lewis2-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)
2000-10-12use macros for incrementing profile countersHerb Lewis2-6/+2
(This used to be commit cae5eeb16e81b6aa95c68223268513c32aed7056)
2000-10-12print source PID in PONG and debuglevel message. Allow request debuglevelHerb Lewis1-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)
2000-10-11Turns out we do need the pwnam check as on many systems the usersJeremy Allison1-0/+7
primary group is not listed in the groups file... Jeremy. (This used to be commit b1cb7bec51963ac2ddc62dd1abbf8f8fa4351f9b)
2000-10-11Fixed %d printf with unsigned long arg.Jeremy Allison1-1/+1
Jeremy. (This used to be commit 448ff58fd5a88b1fdadfb9a8e0bc5f38b707a4d3)
2000-10-11Use sys_setgroups - systems with broken getgroups need this.Jeremy Allison1-1/+1
Jeremy. (This used to be commit c7c90c83372df53eac0f3779dffedd4b28c8c757)
2000-10-11Simple cleanup, but I also changed the value of the dlevel parameter passedChristopher R. Hertel1-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)
2000-10-11Converted to call lib/wins_srv.c:wins_srv_ip() instead of lp_wins_server()Christopher R. Hertel1-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)
2000-10-11Try this again on the right machine. Adding files for PCP samba pmdaHerb Lewis9-0/+2714
(This used to be commit 8ad653f9ebc60c6807c1552425fa83218f6a15d4)
2000-10-11Renamed WINBINDD_INITGROUPS constant to WINBINDD_GETGROUPS.Tim Potter3-3/+3
(This used to be commit 5f3cf2eb78bfa6fb00890d449d38e9f13964712c)
2000-10-11sync with 2.2. treeHerb Lewis1-1/+1
(This used to be commit 8586624815f70a4448c001f14e74eabc96dd4d04)
2000-10-11changes to sync with 2.2. treeHerb Lewis14-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)
2000-10-11Modified initgroups to provide a get groups a user is a member ofTim Potter2-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)
2000-10-11Don't initialise groups twice.Tim Potter2-2/+0
(This used to be commit 15d7f16bdc2ff4f2ae82871eb9f318ba45cf4d1c)
2000-10-11Remove duplicate group initialisation function.Tim Potter1-22/+0
Don't initialise groups twice. (This used to be commit 5375261152b28a65de18e817c75cab79c2f556b8)
2000-10-11Fix to avoid calling getgrgid for no reason.Jeremy Allison1-21/+9
Jeremy. (This used to be commit b057a7349b2d6420f96a6ebc31822da66b39fe6c)
2000-10-11Fix for growing printing.tdb by adding check on job creation.Jeremy Allison4-17/+56
This also updates the printing.tdb db version to 2. Jeremy. (This used to be commit 13395514c632341e7be36eb9589011bb0949b075)
2000-10-11Remove lpq as root fix - do this in print_job_start insteadJeremy Allison4-39/+0
as part of print queue length processing. Jeremy. (This used to be commit e85a0fadd8dcf608822819f00f15569713518806)
2000-10-10Fixes to periodically scan printing.tdb in idle time and occasionallyJeremy Allison4-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)
2000-10-10Fix found by Andrew to stop local/remote printers beingJeremy Allison1-3/+18
confused. check_printer_ok was causing SETPRINTER calls to fail. Jeremy. (This used to be commit b41cc5fea7409d07529adad44f0cbba5c764591c)
2000-10-10Fixed Realloc memory fragmentation problems.Jeremy Allison1-17/+57
Jeremy. (This used to be commit 5518f59976ecac796a85db959cb9e8cc6c4d3504)
2000-10-10Fixed nasty size wrong bug spotted by the eagle eyes ofJeremy Allison1-1/+1
JF :-). Jeremy. (This used to be commit 443293a06530d0a5421b39d9a6a224d6ae316bd3)
2000-10-10Added debug so we can see how winbindd converts SIDS.Jeremy Allison1-13/+40
Jeremy. (This used to be commit 6696bf203c90dc20c00b47737f5ea1d9b8e23d75)
2000-10-10Just in case anyone thinks that Win ME is not freally just aGerald Carter1-0/+4
facelift for Win98/95 jerry (This used to be commit fca30085cc8c84697927e7769251205e10fd31ed)
2000-10-10a netlogon enum trust query doesn't have a function_code at end.Jean-François Micouleau7-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)
2000-10-10got rid of tdb_writelock() and instead lock a chain. tdb_writelock()Andrew Tridgell4-39/+16
is conceptually flawed (This used to be commit 6e4a3585521b7e5928298bd0f1418ff9fbcacfb4)
2000-10-10added tdb_lock_bystring() and tdb_unlock_bystring()Andrew Tridgell1-0/+24
(This used to be commit ca443210c84575d39e60c38a7a12d037386d0e38)
2000-10-10don't use gets() !Andrew Tridgell1-2/+2
(This used to be commit e4ea0a5975d3539803c78cac2229550a6e89c4b4)
2000-10-09Fixes to allow wins.c to compile to allow building of libnss_wins.so.John Terpstra2-2/+14
(This used to be commit 3fb2e94c4430c570639c0e4d1caeed3a19bbd09b)
2000-10-09I introduced a bug in my last commits. Hopefully nobody noticed :-)Jean-François Micouleau1-2/+2
J.F. (This used to be commit 044246fe7e40d83673120dc14b5d6572e6c23142)
2000-10-09Missing conn parameter missed in vfs rewrite.Jeremy Allison1-1/+1
Jeremy. (This used to be commit 4eecc63be5bd11590972ee4f446b7a80d46a713b)
2000-10-08sys_popen got damaged when converted from FILE * to int fd I think.Jeremy Allison1-14/+3
Patrick Powell kindly pointed out the bug. Jeremy. (This used to be commit 1f156b2420b7ecf1266e650efc3cee55362e29dd)
2000-10-07more cleanup of samrJean-François Micouleau1-62/+65
J.F. (This used to be commit c49cc884458d6efa0f7f4b1e40f7d98d84836e77)
2000-10-07added samr_set_user_info and info_2.Jean-François Micouleau9-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)
2000-10-07Ensure browse.dat is written and read in UNIX character set format.Jeremy Allison2-3/+14
Jeremy. (This used to be commit 279d0ec656b03f9266e38b013f16b69e7571c0d5)
2000-10-07Integrated support for NT and OS/2 lpq parsing. Code fromJeremy Allison3-1/+168
Jim McDonough Infoprint Manager Development Linux Technology Center IBM Boulder Jeremy. (This used to be commit d9eedd5db1728be8e23d73c954db13bbbcadf3fb)
2000-10-07Fix for yp_get_default_domain from Neil Hoggarth ↵Jeremy Allison4-380/+494
<neil.hoggarth@physiol.ox.ac.uk> Jeremy. (This used to be commit 44ed8abb2a9f2197b18565dd23a2795faf8fe241)
2000-10-06Fix for printf attribute from Mattias Gronlund <Mattias.Gronlund@sa.erisoft.se>Jeremy Allison5-8/+13
Added "codepage directory" patch from Peter.Polkinghorne@brunel.ac.uk Jeremy. (This used to be commit e49566c2e21fcd16980e5110495645c5ae5a36da)
2000-10-06Added Herb's fixes to HEAD.Jeremy Allison5-9/+99
Jeremy. (This used to be commit 4862d2ab1163310d844b929fb17239b4f4cb1a99)
2000-10-06Fix from RFritz@lbl.gov for Linux ECONREFUSED async errors on Linux.Jeremy Allison1-2/+10
Jeremy. (This used to be commit dd804fdb96ff49645647787c197a61a6515a474d)
2000-10-06Print socket options - patch from Dave Collier-Brown @ Sun.Jeremy Allison1-2/+23
Jeremy. (This used to be commit c18d6f8701c8e6ca03f9fff79cf28c842b3b5ff9)
2000-10-06Fixed error return messages needed for NTTrans CreateDirectory.Jeremy Allison1-0/+16
This patch allows the standard W2k recursive mkdir to work against Samba. Jeremy. (This used to be commit 947102784360c65d51441457bb54aa28d2b4452d)
2000-10-06Proto update. Also fix from John Reilly @ HP for not showing APW with W2K.Jeremy Allison2-7/+15
Jeremy. (This used to be commit 698288cb9de316527c0c2a271e18c920578f9930)
2000-10-06Herb's warning fixes. Also the POSIX locking fix.Jeremy Allison19-173/+250
We now use our own vfs layer to do get/set acl calls (hurrah!). Jeremy. (This used to be commit dfe77c7046cbd65ee52aea7439f21503c1eac41d)
2000-10-06global_myname is actually a pstring.Tim Potter1-1/+1
(This used to be commit e451fd346105d5d34354ff9141d445b5f1a82e0a)
2000-10-06Inlined many of the vfs_XXX calls as macros for speed.Jeremy Allison3-70/+41
Jeremy. (This used to be commit 0811d080abd374f47c7c3c8a1ef007e443e5b79c)
2000-10-06Restructuring of vfs layer to include a "this" pointer - can be an fsp orJeremy Allison22-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)
2000-10-05Fix for null passwords being allowed bug.Jeremy Allison1-4/+8
Jeremy. (This used to be commit d4d55488397832df35b558564c263a307b0bb629)
2000-10-05Fixes from Damian at Cisco to tidy up some tdbtool issues.Jeremy Allison1-4/+15
Jeremy. (This used to be commit 623bfa6c935e2e3acb3145bfbd490758b34d2c70)
2000-10-05Vector get_nt_acl/set_nt_acl via vfs. POSIX ACL support should be addedJeremy Allison6-38/+160
above this layer. Jeremy. (This used to be commit b90af886a951b7b049ed7a42e6d99c332e43897b)