i'm trying to set up a CIFS server on a opensolaris box in workgroup mode. i 
successfully configured ``normal'' authentication via LDAP, i.e. i can log on 
to the machine via ssh with a local account and an LDAP-account. the LDAP 
directory is already shaped for samba so i also exported the passwords from 
there to my local /var/smb/smbpasswd file.

when i try to access a share or list available shares from a linux box on 
behalf of an LDAP-account i get an ERRSRV - ERRbadpw reply (see below) and 
unfortunately no message whatsoever by smbd on the opensolaris box. 
access on behalf of an local users works, though.

here are some details:

# uname -a
SunOS hawk 5.11 snv_86 i86pc i386 i86pc

# cat /etc/passwd
[... only local users]
otter:x:101:10:otter:/export/home/otter:/bin/bash

# getent passwd
[ ... list of all ldap users ... ]
test:x:1056:1056::/home/users/test:/bin/tcsh

# cat /var/smb/smbpasswd
test:1056::4FCBD51825B53D7E52B421D4FC94175A

on the linux box (hawk is the opensolaris box):
# smbclient -L hawk -U test
session setup failed: ERRSRV - ERRbadpw (Bad password - name/password pair in a 
Tree Connect or Session Setup are invalid.)

# smbclient -L hawk -U otter
[ works as expected ]

what do i miss? can smbd authenticate only really local users, i.e. users 
listed in /etc/passwd?

regards
 - robert
 
 
This message posted from opensolaris.org
_______________________________________________
storage-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/storage-discuss

Reply via email to