By Date: <-- -->
By Thread: <-- -->

smpasswd



Pierre MARC wrote:
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.

Hi Pierre,

thanks for the help.

what I was getting in the server logs was:

[2006/06/15 14:05:28, 2] auth/auth.c:check_ntlm_password(317)
 check_ntlm_password:  Authentication for user [richard] -> [richard]
FAILED with error NT_STATUS_NO_SUCH_USER

which of course disappeared when i added the user with smbpasswd -a richard

thanks



--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba