Hi there; I have Samba-2.2.7a configured as PDC. I can login from Windows9x, NT, 2K, XP. My problem is with executing batch file at login time. My logon. bat is: net time \\linux /set /yes net use n: \\linux\netlogon /no net use h: \\linux\homes /no net use p: \\linux\public /no net use t: \\linux\tmp /no net use w: \\linux\Work /no net use n: /d /y (This file is generated using a perl script by preexec)
Adding drives takes its sweet time, at every drive. Here is section of the log (level 3) switch message SMBtconX (pid 3981) [2003/02/27 20:51:18, 3] smbd/sec_ctx.c:set_sec_ctx(328) setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0 [2003/02/27 20:51:18, 3] lib/access.c:check_access(318) check_access: no hostnames in host allow/deny list. [2003/02/27 20:51:18, 2] lib/access.c:check_access(327) Allowed connection from (192.168.1.115) [2003/02/27 20:51:18, 3] smbd/password.c:authorise_login(735) authorise_login: ACCEPTED: validated uid ok as non-guest (user=Steve) [2003/02/27 20:51:18, 3] smbd/service.c:make_connection(487) Connect path is /var/tmp [2003/02/27 20:51:18, 3] smbd/sec_ctx.c:push_sec_ctx(296) push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1 [2003/02/27 20:51:18, 3] smbd/uid.c:push_conn_ctx(285) push_conn_ctx(0) : conn_ctx_stack_ndx = 0 [2003/02/27 20:51:18, 3] smbd/sec_ctx.c:set_sec_ctx(328) setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1 [2003/02/27 20:51:18, 3] smbd/sec_ctx.c:get_current_groups(172) get_current_groups: user is in 3 groups: 52, 51, 102 [2003/02/27 20:51:18, 3] smbd/sec_ctx.c:pop_sec_ctx(435) pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0 [2003/02/27 20:51:18, 3] smbd/sec_ctx.c:get_current_groups(172) get_current_groups: user is in 3 groups: 52, 51, 102 [2003/02/27 20:51:18, 3] lib/util_seaccess.c:se_access_check(269) se_access_check: user sid is S-1-5-21-1982542378-1830464510-1793467633-2022 [2003/02/27 20:51:18, 3] lib/util_seaccess.c:se_access_check(272) se_access_check: also S-1-5-21-1982542378-1830464510-1793467633-1105 [2003/02/27 20:51:18, 3] lib/util_seaccess.c:se_access_check(272) se_access_check: also S-1-5-21-1982542378-1830464510-1793467633-1103 [2003/02/27 20:51:18, 3] lib/util_seaccess.c:se_access_check(272) se_access_check: also S-1-5-21-1982542378-1830464510-1793467633-1205 [2003/02/27 20:51:18, 3] lib/util_seaccess.c:se_access_check(272) se_access_check: also S-1-1-0 [2003/02/27 20:51:18, 3] lib/util_seaccess.c:se_access_check(272) se_access_check: also S-1-5-2 [2003/02/27 20:51:18, 3] lib/util_seaccess.c:se_access_check(272) se_access_check: also S-1-5-11 [2003/02/27 20:51:18, 3] smbd/vfs.c:vfs_init_default(123) Initialising default vfs hooks AT THIS POINT IT TIME OUT AND THEN GOES TO THE NEXT DRIVE. Time to time it fails too. From DOS, any command in the bat file can be executed successfully and takes no time whatsoever. Accessing network shares is pretty fast, also. Any idea? Your help is appreciated. Thanks Andras