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
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@lists.samba.org
[mailto:samba-bounces+ndressler=dinmar.com@lists.samba.org]On Behalf Of
Norm Dressler
Sent: Tuesday, February 03, 2004 1:11 PM
To: samba@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
On Tue, 2004-02-03 at 11:11, Norm Dressler wrote:> 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---- I am still a neophyte at Samba 3 but I don't think that your 'domain master = 192.168.40.250' is a valid option. Obviously, there is another box that is the domain master...is that machine Linux or Windows? Are you aware that you cannot run Linux as a BDC to a Windows PDC? Are you sure that you can run LDAP on this machine? Where is the PDC, is it running LDAP too and on this machine, it is a slave LDAP server? It doesn't seem as though you have gotten through some of the important points covered in the Samba 3 How-TO Craig
Update:
Problem has been resolved. Reviewing the log files show that when
attaching to the IPC$ share it is attempting to open /root/tmp, which it
can't. Searching google found another message with this problem and it
relates to the TMPDIR and TMP environment variables. It seems on
Mandrake and logged in as root, the TMPDIR and TMP environment variables
are set to /root/tmp but if you manually set them to /tmp, everything
works fine.
Hopefully this post will help someone else.
Norm
-----Original Message-----
From: samba-bounces+ndressler=dinmar.com@lists.samba.org
[mailto:samba-bounces+ndressler=dinmar.com@lists.samba.org]On Behalf Of
Norm Dressler
Sent: Tuesday, February 03, 2004 1:11 PM
To: samba@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