I am trying to get samba to use its local users and passwords file and not the UNIX /etc/password file. Is this possible? I would like to be able to have users on the samba shares but not in the /etc/password file. If I am trying to do the impossible please let me know... Thanks in advance for any help. -Patrick -------------------------- ptopping@funky [/etc/samba]$ sudo smbpasswd -a vcshare New SMB password: Retype new SMB password: Failed to initialise SAM_ACCOUNT for user vcshare. Does this user exist in the UNIX password database ? Failed to modify password entry for user vcshare -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part Url : http://lists.samba.org/archive/samba/attachments/20051215/9bda79bb/attachment.bin
On Thu, 2005-12-15 at 10:18 -0800, Patrick Topping wrote:> I am trying to get samba to use its local users and passwords file and > not the UNIX /etc/password file. Is this possible? I would like to be > able to have users on the samba shares but not in the /etc/password > file. If I am trying to do the impossible please let me know... Thanks > in advance for any help. >---- you are trying to do the impossible Craig
Craig, Thanks for the info. So I am going to need to create an account on the Linux server in order to add the user via smbpasswd right? Thanks for your help. -Patrick On Thu, 2005-12-15 at 15:09 -0700, Craig White wrote:> On Thu, 2005-12-15 at 10:18 -0800, Patrick Topping wrote: > > I am trying to get samba to use its local users and passwords file and > > not the UNIX /etc/password file. Is this possible? I would like to be > > able to have users on the samba shares but not in the /etc/password > > file. If I am trying to do the impossible please let me know... Thanks > > in advance for any help. > > > ---- > you are trying to do the impossible > > Craig >-------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part Url : http://lists.samba.org/archive/samba/attachments/20051215/494c4e0e/attachment.bin
The UNIX/Linux system has to have an account in some means whether this account is in the flat file /etc/passwd or in LDAP which maps to the samba user. Craig On Thu, 2005-12-15 at 17:14 -0800, Patrick Topping wrote:> Craig, > > Thanks for the info. So I am going to need to create an account on > the Linux server in order to add the user via smbpasswd right? Thanks > for your help. > > -Patrick > > > On Thu, 2005-12-15 at 15:09 -0700, Craig White wrote: > > On Thu, 2005-12-15 at 10:18 -0800, Patrick Topping wrote: > > > I am trying to get samba to use its local users and passwords file and > > > not the UNIX /etc/password file. Is this possible? I would like to be > > > able to have users on the samba shares but not in the /etc/password > > > file. If I am trying to do the impossible please let me know... Thanks > > > in advance for any help. > > > > > ---- > > you are trying to do the impossible > > > > Craig > >
Gotcha... Thanks. -Patrick On Thu, 2005-12-15 at 21:11 -0700, Craig White wrote:> The UNIX/Linux system has to have an account in some means whether this > account is in the flat file /etc/passwd or in LDAP which maps to the > samba user. > > Craig > > On Thu, 2005-12-15 at 17:14 -0800, Patrick Topping wrote: > > Craig, > > > > Thanks for the info. So I am going to need to create an account on > > the Linux server in order to add the user via smbpasswd right? Thanks > > for your help. > > > > -Patrick > > > > > > On Thu, 2005-12-15 at 15:09 -0700, Craig White wrote: > > > On Thu, 2005-12-15 at 10:18 -0800, Patrick Topping wrote: > > > > I am trying to get samba to use its local users and passwords file and > > > > not the UNIX /etc/password file. Is this possible? I would like to be > > > > able to have users on the samba shares but not in the /etc/password > > > > file. If I am trying to do the impossible please let me know... Thanks > > > > in advance for any help. > > > > > > > ---- > > > you are trying to do the impossible > > > > > > Craig > > > >-------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part Url : http://lists.samba.org/archive/samba/attachments/20051216/a9139eed/attachment.bin