Harald ARNOLD
2003-Oct-23 14:59 UTC
[Samba] Samba with two linux computers: wrong password in one direction,
I am working with two computer with Linux. One is the master of the workgroup and the other is the slave. The master is also password server. Both machines have the same user with same password. My problem is that I can mount anything with smbmount from slave to master (//master/tmp) with correct password. Trying the other way (mounting on master something of slave (//slave/tmp) will no work with following message: master: smbmount //slave/tmp /mnt username=<user> [...] pm_process() returned Yes added interface ip=192.168.0.6 bcast=192.168.0.255 nmask=255.255.255.0 not adding duplicate interface 192.168.0.6 resolve_lmhosts: Attempting lmhosts lookup for name haribo<0x20> resolve_hosts: Attempting host lookup for name haribo<0x20> Connecting to 192.168.0.3 at port 139 session request ok Password: session setup ok tree connect failed: ERRSRV - ERRbadpw (Bad password - name/password pair in a Tree Connect or Session Setup are invalid.) SMB connection failed Please can anyone help me ! Thank you Harald --- configuration files: MASTER: SuSE V 7.1 (IP 192.168.0.6. samba 2.0.7) ====== [global] debug level = 4 workgroup = ARNOLD guest account = nobody keep alive = 30 os level = 65 kernel oplocks = false security = server client code page = 850 netbios name = saruman server string = saruman: samba-V.2.0.7 interfaces = eth1 192.168.0.1/24 bind interfaces only = yes min password length = 6 password level = 8 username level = 8 null passwords = no default case = lower case sensitive = No preserve case = Yes short preserve case = Yes mangle case = No mangling char = ~ admin users = harald admin hosts allow = 192.168.0. hosts deny allow trusted domains = no announce as = NT Server dns proxy = yes domain logons = yes time server = yes dont descend = /proc, /dev follow symlinks = no hide dot files = yes username map = /etc/smbusermap valid users = harald erika nobody password server = 192.168.0.6 encrypt passwords = yes printcap name = /etc/printcap printing = bsd load printers = yes socket options = TCP_NODELAY map to guest = Bad User local master = yes prefered master = yes wins support = yes domain master = yes [tmp] comment = saruman: /tmp guest ok = no path = /tmp read only = no browseable = yes create mode = 0750 valid users = harald erika icb SLAVE (SuSE V 8.1, IP 192.168.0.3, samba 2.2.5-SuSE) ===== [global] workgroup = ARNOLD guest account = nobody keep alive = 30 os level = 64 kernel oplocks = false security = server client code page = 850 netbios name = haribo server string = haribo: samba-V.2.2.5 interfaces = eth0 192.168.0.3/24 bind interfaces only = yes min password length = 6 password level = 8 username level = 8 null passwords = no default case = lower case sensitive = No preserve case = Yes short preserve case = Yes mangle case = No mangling char = ~ admin users = harald root hosts allow = 192.168.0. hosts deny allow trusted domains = yes announce as = NT Server dns proxy = yes domain logons = yes time server = no dont descend = /proc, /dev follow symlinks = no hide dot files = yes username map = /etc/samba/smbusermap valid users = harald nobody root password server = 192.168.0.6 encrypt passwords = yes update encrypted = yes printcap name = /etc/printcap printing = bsd load printers = yes socket options = TCP_NODELAY map to guest = Bad User local master = no prefered master = no wins support = yes domain master = no [tmp] comment = haribo: /tmp guest ok = no path = /tmp read only = no browseable = yes create mode = 0750 valid users = harald root