[Samba] smpasswd
Pierre MARC
pierre.marc at id3.eu
Mon Jun 19 12:43:53 GMT 2006
Le lun 19/06/2006 à 14:30, rich a écrit :
> Pierre MARC wrote:
> > Le lun 19/06/2006 à 12:46, rich a écrit :
> >> /Pierre MARC wrote:
> >> > Le ven 16/06/2006 à 17:42, rich a écrit :
> >> >> /Pierre MARC wrote:
> >> >> > Le ven 16/06/2006 à 15:04, rich a écrit :
> >> >> >
> >> >> >
> >> >> >> Hi,
> >> >> >> I have just installed samba-3.0.22 and copied my smb.conf across from
> >> >> >> my previous version on the same machine. With my previous version I
> >> >> >> never had to run smbpasswd -a username. It would do the
> >> >> >> authentication from /etc/passwd. ie when I added someone as a user
> >> >> >> with useradd they would automatically be able to mount samab shares.
> >> >> >> I am now having to add all my users with smbpasswd.
> >> >> >> I didn't compile the previous version. Could anyone tell me what I
> >> >> >> need to do to allow authentication from /etc/passwd?
> >> >> >>
> >> >> >> TIA,
> >> >> >> Rich
> >> >> >>
> >> >> >> [global]
> >> >> >> workgroup = WORKGROUP
> >> >> >> server string = BLA
> >> >> >> unix password sync = Yes
> >> >> >> log level = 2
> >> >> >> log file = /var/log/samba/samba.log.%m
> >> >> >> max log size = 50
> >> >> >> wins support = Yes
> >> >> >> invalid users = root bin web
> >> >> >> create mask = 0777
> >> >> >> directory mask = 0777
> >> >> >> hosts allow = 192.168.1. localhost
> >> >> >>
> >> >> >> [homes]
> >> >> >> comment = Home Directories
> >> >> >> path = /userdata/home/%u
> >> >> >> read only = No
> >> >> >> guest ok = Yes
> >> >> >> browseable = No
> >> >> >>
> >> >> >
> >> >> >
> >> >> > Try encrypt password = no
> >> >> >
> >> >> >
> >> >> thanks. unfortunately it didn't make any difference
> >> >>
> >> >> mount -t cifs -o username=testing //mendel/testing /mnt/testing
> >> >> ount error 13 = Permission denied
> >> >> Refer to the mount.cifs(8) manual page (e.g.man mount.cifs)/
> >> >
> >> > What was your last samba version ?
> >> > And OS ?
> >> Hi,
> >> my OS is Solaris 8 and my version of samba is 2.0.5a
> >>
> >> thanks
> >> r/
> > And If you try to use the smbmount command coming with the 3.0.22
> > version ?
> I am trying to mount from a linux box using smbmount that comes with
> fedora core 5.
> >> /
> >>
> >> > -- Pierre MARC <_pierre.marc at id3.eu_ <mailto:pierre.marc at id3.eu>> id3
> >> > Semiconductors
> >> >
> >> >
> >> > /
> > -- Pierre MARC <_pierre.marc at id3.eu_ <mailto:pierre.marc at id3.eu>> id3
> > Semiconductors
> >
> >
> >
OK, have you seen somethong wrong in the log.smb from the server or the
client.
If yes, it should be useful to post it.
More information about the samba
mailing list