[rhn-users] Samba 3.0.6-2.3E Issues

Daniel Wittenberg daniel-wittenberg at starken.com
Fri Sep 3 19:40:06 UTC 2004


We started seeing the same thing, and downgraded samba, and things were
good.  I haven't tried doing update 3 yet, so can't if that fixes it or
still has the problem.

Dan

On Fri, 2004-09-03 at 14:30 -0500, Strickler Carl wrote:
> After our systems were updated automatically yesterday to Samba
> 3.0.6-2.3E we are having issues with using the samba shares.  It
> appears that the servers are no longer getting the correct username
> and group information from the NT 4.0 domain controllers.  If I did a
> smbstatus on previous versions (i.e. 3.0.4-6.3E) the username and
> group would appear as "Domain+Username    Domain+Group".  Now we are
> simply getting "Username   nobody" for user and group.  This is
> happening on multiple servers so I know it's not just a individual
> server problem and nothing has changed in the smb.conf.  In addition
> our main file server does not get automatic updates for this very
> reason and is running 3.0.4-6.3E and is having no issues at all.  
>  
> If I do a getent passwd, getent group, wbinfo -u, or wbinfo -g the
> information returned is identical to the information returned for the
> server running 3.0.4-6.3E, so I don't think it is a winbind setting.
> On a testing server I have copied the smb.conf file from the working
> server and have attempted using that, to no avail.  I have even
> attempted rejoining the domain which works, but does not fix this
> problem.
>  
> Is anyone else having similar issues?   Below is a log of an attempt
> to log in, as well as the smb.conf of the machine.  (Note: Origionally
> the config used idmap uid and gid, but as the working server had
> winbind I thought I would try that out, but it did not work.) 
>  
> Thank you,
> - Carl 
>  
> ----------------------------------------------------------
> Systems Administrator for Linux Servers
> CCNP / CNA / Network+
> IIT Research Institute
> ----------------------------------------------------------
>  
>  
> ____Log______
>  
>  
> [2004/09/03 14:21:32, 3] smbd/process.c:process_smb(1092)
>   Transaction 3 of length 96
> [2004/09/03 14:21:32, 5] lib/util.c:show_msg(465)
> [2004/09/03 14:21:32, 5] lib/util.c:show_msg(475)
>   size=92
>   smb_com=0x75
>   smb_rcls=0
>   smb_reh=0
>   smb_err=0
>   smb_flg=8
>   smb_flg2=51201
>   smb_tid=0
>   smb_pid=32740
>   smb_uid=100
>   smb_mid=4
>   smt_wct=4
>   smb_vwv[ 0]=  255 (0xFF)
>   smb_vwv[ 1]=    0 (0x0)
>   smb_vwv[ 2]=    0 (0x0)
>   smb_vwv[ 3]=    1 (0x1)
>   smb_bcc=49
> [2004/09/03 14:21:32, 3] smbd/process.c:switch_message(887)
>   switch message SMBtconX (pid 2771) conn 0x0
> [2004/09/03 14:21:32, 3] smbd/sec_ctx.c:set_sec_ctx(288)
>   setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
> [2004/09/03 14:21:32, 5] auth/auth_util.c:debug_nt_user_token(486)
>   NT user token: (NULL)
> [2004/09/03 14:21:32, 5] auth/auth_util.c:debug_unix_user_token(505)
>   UNIX token of user 0
>   Primary group is 0 and contains 0 supplementary groups
> [2004/09/03 14:21:32, 5] smbd/uid.c:change_to_root_user(295)
>   change_to_root_user: now uid=(0,0) gid=(0,0)
> [2004/09/03 14:21:32, 4] smbd/reply.c:reply_tcon_and_X(392)
>   Client requested device type [?????] for share [TEMPSHARES]
> [2004/09/03 14:21:32, 5] smbd/service.c:make_connection(812)
>   making a connection to 'normal' service tempshares
> [2004/09/03 14:21:32, 5] lib/username.c:user_in_netgroup_list(315)
>   Unable to get default yp domain
> [2004/09/03 14:21:34, 2] smbd/service.c:make_connection_snum(314)
>   user 'cstrickler' (from session setup) not permitted to access this
> share (tempshares)
> [2004/09/03 14:21:34, 3] smbd/error.c:error_packet(129)
>   error packet at smbd/reply.c(400) cmd=117 (SMBtconX)
> NT_STATUS_ACCESS_DENIED
> [2004/09/03 14:21:34, 5] lib/util.c:show_msg(465)
> [2004/09/03 14:21:34, 5] lib/util.c:show_msg(475)
>   size=35
>   smb_com=0x75
>   smb_rcls=34
>   smb_reh=0
>   smb_err=49152
>   smb_flg=136
>   smb_flg2=51201
>   smb_tid=0
>   smb_pid=32740
>   smb_uid=100
>   smb_mid=4
>   smt_wct=0
>   smb_bcc=0
> [2004/09/03 14:21:34, 3] smbd/process.c:timeout_processing(1332)
>   timeout_processing: End of file from client (client has
> disconnected).
> [2004/09/03 14:21:34, 5] lib/gencache.c:gencache_shutdown(88)
>   Closing cache file
> [2004/09/03 14:21:34, 5] libsmb/namecache.c:namecache_shutdown(79)
>   namecache_shutdown: netbios namecache closed successfully.
> [2004/09/03 14:21:34, 3] smbd/sec_ctx.c:set_sec_ctx(288)
>   setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
> [2004/09/03 14:21:34, 5] auth/auth_util.c:debug_nt_user_token(486)
>   NT user token: (NULL)
> [2004/09/03 14:21:34, 5] auth/auth_util.c:debug_unix_user_token(505)
>   UNIX token of user 0
>   Primary group is 0 and contains 0 supplementary groups
> [2004/09/03 14:21:34, 5] smbd/uid.c:change_to_root_user(295)
>   change_to_root_user: now uid=(0,0) gid=(0,0)
> [2004/09/03 14:21:34, 2] smbd/server.c:exit_server(571)
>   Closing connections
> [2004/09/03 14:21:34, 5] auth/auth_util.c:free_server_info(1332)
>   attempting to free (and zero) a server_info structure
> [2004/09/03 14:21:34, 3] smbd/connection.c:yield_connection(69)
>   Yielding connection to
> [2004/09/03 14:21:34, 3] smbd/connection.c:yield_connection(76)
>   yield_connection: tdb_delete for name  failed with error Record does
> not exist.
> [2004/09/03 14:21:34, 5] smbd/oplock.c:receive_local_message(107)
>   receive_local_message: doing select with timeout of 1 ms
> [2004/09/03 14:21:34, 3] smbd/server.c:exit_server(614)
>   Server exit (normal exit)
> 
>  
> __________SMB Conf___________
>  
> [global]
>  
> workgroup = IITRINET
> server string = Life Sciences Group
> log file = /var/log/samba/log.%m
> log file = /var/log/samba/log.%U
> max log size = 50
> log level = 5
> security = domain
> password server = lsg-pdc lsg-bdc
> encrypt passwords = yes
> winbind uid = 10000-20000
> winbind gid = 10000-20000
> winbind separator = +
> winbind enum users = yes
> winbind enum groups = yes
> socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
> wins server = 172.20.29.10 172.20.29.17
> dns proxy = no
>  
> 
> [tempshares]
>         path = /home/tempshares
>         valid users = "@IITRINET+Domain Users"
>         writeable = yes
>         create mask = 0664
>         directory mask = 0775
> 
> _______________________________________________
> rhn-users mailing list
> rhn-users at redhat.com
> https://www.redhat.com/mailman/listinfo/rhn-users
-- 
======================
Daniel Wittenberg
RHCE
President/CTO
The Starken Group Ltd.
http://www.starken.com





More information about the rhn-users mailing list