[Samba] RE: Samba 3.0.1a Cannot Browse Server

jonlists jonlists at cbsol.com
Wed Feb 4 01:02:25 GMT 2004


The TOSHARG book has a chapter on troubleshooting, btw, but my guess is 
that you need to remove the 

   browseable = No

from the netlogon directory. 

Jon Johnston
Creative Business Solutions
IBM, Lotus, Microsoft Consultants
http://www.cbsol.com
952-544-1108 

samba-bounces+jonlists=cbsol.com at lists.samba.org wrote on 02/03/2004 
03:47:40 PM:

> Ok, the saga continues.  I've figured out the cause, now I'm hoping
> someone will tell me the fix!
> 
> When you browse the server, your workstation is requesting access to the
> IPC$ share.  In the log file I found an error where it said it couldn't
> access '/root/tmp', thus giving an access denied error.  I did a little
> test by changing my /root to world writeable and /root/tmp to world
> writeable.  After that I could browse. 
> 
> So the cause is Samba wanting to use /root/tmp as a temporary directory
> for 'something' to do with the IPC$ connection.  How do I change this to
> point to a directory of my choosing?  IS it linked to a user that Samba
> starts up as?  Suggestions?
> 
> Thanks
> Norm
> 
> -----Original Message-----
> From: Norm Dressler [mailto:ndressler at dinmar.com]
> Sent: Tuesday, February 03, 2004 5:08 PM
> To: 'ndressler at dinmar.com'; 'samba at lists.samba.org'
> Subject: RE: Samba 3.0.1a Cannot Browse Server
> 
> 
> Further to my inability to browse, I've caught the following in my
> workstation log:
> 
> [2004/02/03 17:04:59, 0] smbd/service.c:make_connection_snum(677)
>   '/root/tmp' does not exist or is not a directory, when connecting to
> [IPC$]
> [2004/02/03 17:04:59, 3] smbd/sec_ctx.c:set_sec_ctx(288)
>   setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
> [2004/02/03 17:04:59, 5] auth/auth_util.c:debug_nt_user_token(486)
>   NT user token: (NULL)
> [2004/02/03 17:04:59, 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/02/03 17:04:59, 5] smbd/uid.c:change_to_root_user(218)
>   change_to_root_user: now uid=(0,0) gid=(0,0)
> [2004/02/03 17:04:59, 3] smbd/connection.c:yield_connection(69)
>   Yielding connection to IPC$
> [2004/02/03 17:04:59, 3] smbd/error.c:error_packet(94)
>   error string = Permission denied
> [2004/02/03 17:04:59, 3] smbd/error.c:error_packet(118)
>   error packet at smbd/reply.c(286) cmd=117 (SMBtconX)
> NT_STATUS_BAD_NETWORK_NAME
> [2004/02/03 17:04:59, 5] lib/util.c:show_msg(456)
> [2004/02/03 17:04:59, 5] lib/util.c:show_msg(466)
> 
> I'm not sure why /root/tmp claims to not exist, etc... it does but
> shouldn't be accessible to regular users --
> 
> The other area I'm concerned about is the nt_status_bad_network_name ...
> could this be a clue to my problem?
> 
> Norm
> 
> -----Original Message-----
> From: samba-bounces+ndressler=dinmar.com at lists.samba.org
> [mailto:samba-bounces+ndressler=dinmar.com at lists.samba.org]On Behalf Of
> Norm Dressler
> Sent: Tuesday, February 03, 2004 1:11 PM
> To: samba at lists.samba.org
> Subject: [Samba] Samba 3.0.1a Cannot Browse Server
> 
> 
> Hi All,
> 
> I've migrated my samba 2.2.8/OpenLDAP configuration to a Samba
> 3.0.1/OpenLDAP configuration.  Things went well in the LDAP conversion
> using scripts, etc.  I've set things up using the new LDAP schema and
> not the compatibility schema.
> 
> I can see the server listed in the machines on my workgroup.  I can even
> explicitly map a drive letter to a share on the new samba server.  I
> cannot, however, browse the server!  A windows 2000 workstation gives me
> the error:  The Server is not configured for Transactions.
> 
> The log files have not been helpful for me in determining where the
> problem is.  Has anyone else seen this problem?  My smb.conf file looks
> like this:
> 
> [global]
>         log level = 1024
>         log file = /usr/local/samba/var/%m.log
>         os level = 65
>         passdb backend = ldapsam:ldap://localhost/
>         ldap suffix = dc=dinmar,dc=com
>         ldap machine suffix = ou=Computers
>         ldap user suffix = ou=People
>         ldap admin dn = "cn=root,dc=dinmar,dc=com"
>         ldap delete dn = no
> 
>         workgroup = DINMAR-OTT01
>         netbios name = FPOTT04
>         server string = DINMAR FPOTT04 Server
>         interfaces = 192.168.40.246
>         encrypt passwords = Yes
>         null passwords = Yes
>         domain logons = Yes
>         domain master = 192.168.40.250
>         local master = Yes
>         hosts allow = 192.168.
>         security = user
>         comment = DINMAR FPOTT04 Server
>         guest ok = yes
>         wins server = 192.168.40.250
>         browse list = yes
>         printing=bsd
>         printcap=lpstat
> 
> [netlogon]
>         path = /usr/local/samba/netlogon
>         read only = No
>         browseable = No
>         locking = No
>         guest ok = yes
> 
> [Users]
>         comment = User Home Directories
>         path = /data2/users
>         read only = No
>         hide dot files = yes
>         hide files = /.* /public_html
>         create mask = 0700
>         directory mask = 0700
> 
> [homes]
>         comment = Personal Home Directory
>         read only = No
>         hide dot files = yes
>         browseable = No
>         hide files = /.*
>         create mask = 0700
>         directory mask = 0700
> 
> 
> 
> -- 
> To unsubscribe from this list go to the following URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba
> 
> 
> 
> -- 
> To unsubscribe from this list go to the following URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba


More information about the samba mailing list