Hi, We are setting up the samba server in our environment. We have Sun Os 5.7 on Sun E 450(name ABC) We installed the samba server on ABC. There is one unix user called DCCATG in Unix box ABC. Our plan is to create a share for ATG Dir on Unix box ABC and give permissions to only DCCATG Unix user. We configured the smb.conf file as attached. =========================================================================== # Samba config file created using SWAT # from 10.0.100.141 (10.0.100.141) # Date: 2001/02/09 08:58:51 # Global parameters [global] workgroup = DCC encrypt passwords = yes security = user domain master = yes smb passwd file = /etc/opt/samba/private/smbpasswd [homes] writeable = Yes [atg] comment = For DCCATG USER Only path = /atg valid users = dccatg security = USER encrypt passwords = yes writeable = Yes [Aruba_FC] comment = For DCCATG USER Only path = /Aruba_FC valid users = dccatg [TEST] path = /test writeable = yes guest ok = yes "smb.conf" 33 lines, 651 characters =========================================================================== We have the entry for DCCATG user in /etc/opt/samba/private/smbpasswd We have set encrypted = yes
MCCALL,DON (HP-USA,ex1)
2001-Feb-12 14:14 UTC
Samaba Server Connectivity Problem (Critical)
Hello Birjesh, With encrypt passwords = yes, your samba server is going to be checking your password against the samba smbpasswd file, NOT the /etc/passwd file. This means that you will need to add the user to your smbpasswd file with the same password you unix user uses via the smbpasswd program. Also, since you already have a pdc in that domain, I would recommend against setting domain master = yes in your smb.conf file. Hope this helps, Don -----Original Message----- From: Brijesh Shah [mailto:ShahB@digitalcommerce.com] Sent: Sunday, February 11, 2001 5:40 PM To: 'samba@lists.samba.org' Subject: Samaba Server Connectivity Problem (Critical) Hi, We are setting up the samba server in our environment. We have Sun Os 5.7 on Sun E 450(name ABC) We installed the samba server on ABC. There is one unix user called DCCATG in Unix box ABC. Our plan is to create a share for ATG Dir on Unix box ABC and give permissions to only DCCATG Unix user. We configured the smb.conf file as attached. =========================================================================== # Samba config file created using SWAT # from 10.0.100.141 (10.0.100.141) # Date: 2001/02/09 08:58:51 # Global parameters [global] workgroup = DCC encrypt passwords = yes security = user domain master = yes smb passwd file = /etc/opt/samba/private/smbpasswd [homes] writeable = Yes [atg] comment = For DCCATG USER Only path = /atg valid users = dccatg security = USER encrypt passwords = yes writeable = Yes [Aruba_FC] comment = For DCCATG USER Only path = /Aruba_FC valid users = dccatg [TEST] path = /test writeable = yes guest ok = yes "smb.conf" 33 lines, 651 characters =========================================================================== We have the entry for DCCATG user in /etc/opt/samba/private/smbpasswd We have set encrypted = yes
On 11 Feb 2001, at 17:39, Brijesh Shah wrote:> Hi, > > We are setting up the samba server in our environment. > > We have Sun Os 5.7 on Sun E 450(name ABC) > > We installed the samba server on ABC. > > There is one unix user called DCCATG in Unix box ABC. > > Our plan is to create a share for ATG Dir on Unix box ABC and give > permissions to only DCCATG Unix user. > > We configured the smb.conf file as attached. > > ===========================================================================> > # Samba config file created using SWAT > # from 10.0.100.141 (10.0.100.141) > # Date: 2001/02/09 08:58:51 > > # Global parameters > [global] > workgroup = DCC > encrypt passwords = yes > security = user > domain master = yes > smb passwd file = /etc/opt/samba/private/smbpasswd > > [homes] > writeable = Yes > > [atg] > comment = For DCCATG USER Only > path = /atg > valid users = dccatg > security = USER > encrypt passwords = yes > writeable = Yes > > [Aruba_FC] > comment = For DCCATG USER Only > path = /Aruba_FC > valid users = dccatg > > [TEST] > path = /test > writeable = yes > guest ok = yes > > "smb.conf" 33 lines, 651 characters > > ===========================================================================> > > We have the entry for DCCATG user in /etc/opt/samba/private/smbpasswd > > We have set encrypted = yes > > From the Windows NT 4 sp 6 , If i go into network neighborhood, i m able to > see the Unix box ABC and Share ATG under that box. > > But when i double click it asks me the user name and password. > > Here i am giving DCCATG and the appropriate Unix password. > > But i m getting the message is "THE ACCOUNT IS NOT AUTHORIZED TO LOGON FROM > THIS STATION". > > - When i tried to access the /Test share its not asking me the password and > i am able to see the files and i am able to upload the files/ > ( i think this is because of Guest Ok = yes ) > > > Let me know what are the other settings do i have to set ? > > - Do i have to create a same user called DCCATG in Nt Domain ? > > - We have a diff. machine for PDC , so i havnt set Domain logons = yes in > smb.confYou need to set Domain logons = yes or you'll not be able to access the server. This flag has nothing to do with PDC. Also add the users with smbpasswd -a username in case you omitted this. Alin Osan Network Administrator http://www.tryrom.com/casa phone 4059467200 fax 4059467202