[Samba] Samba and a headache

Harald Milz hmilz at integralserver.com.ar
Tue Feb 11 14:57:45 GMT 2003


Hello List:

I have a problem i can't work around.

Look

[root at Server samba]# smbclient //server/homes -UHarald%pass
added interface ip=xxx.xxx.xxx.xxx bcast=xxx.xxx.xxx.xxx
nmask=xxx.xxx.xxx.xxx
added interface ip=192.168.100.1 bcast=192.168.100.255
nmask=255.255.255.0
Domain=[INTSER] OS=[Unix] Server=[Samba 2.2.7]
smb: \> exit

[root at Server samba]# exit
exit

[Harald at Server Harald]$ smbclient //server/homes
added interface ip=xxx.xxx.xxx.xxx bcast=xxx.xxx.xxx.xxx
nmask=xxx.xxx.xxx.xxx
added interface ip=192.168.100.1 bcast=192.168.100.255
nmask=255.255.255.0
Password:
session setup failed: NT_STATUS_LOGON_FAILURE
[Harald at Server Harald]$

Its the same password but when I login through the user, i get this error.

The same thing happens when i try to login as root with "smbclient //Server/homes"
and then enter the passwd. But if i do a -Uroot%passwd, there's no problem.

To be honest, i have been surfing around for days and days and read all the howto's
there is and nevertheless can't find any errors.

I am including all the configuration files i have below.

Greetings and thanks in advance for your help!!

SMB.CONF :

[global]

   netbios name = Server
   server string = Samba-Server
   workgroup = INTSER
#   encrypt passwords = yes  * also tried to enable this, but i get a BAD_PASSWD reply.
#   update encrypted = yes *same as above
   security = user
   browseable = yes
   smb passwd file = /etc/samba/smbpasswd
   socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192

[homes]
   comment = Directorios Locales
   browseable = yes
   writeable = yes
   valid users = %S
   create mode = 0664
   directory mode = 0775

[public]
   comment = Espacio Temporal
   path = /usr/share/public
   guest ok = yes
   read only = no

-------------------

SMBUSERS :

# Unix_name = SMB_name1 SMB_name2 ...
root = administrator admin
nobody = guest pcguest smbguest
Harald = harald Harald hmilz


the "smbpasswd" file i don't include... if really needed advice ;)

NOTE: I have both users "Harald" and "root" added to the smbpasswd file and enabled accordingly.





More information about the samba mailing list