S_Warrior
asked on
Samba setup (Trixbox)
Hello,
I have installed Samba server on my trixbox using webmin. when I try to log from windows it asks me for username and password but for some reasons it don't give me access, Can some body help me to set the Samaba users.
I tryed with security set to SHARE and to USER nothing works.
# Samba config file created using SWAT
# from 192.168.2.2 (192.168.2.2)
# Date: 2008/01/20 18:09:38
[global]
workgroup = MYGROUP
server string = Samba Server Version %v
encrypt passwords = No
cups options = raw
[root]
comment = Home Directories
writable = yes
path = /root
username = admin
[printers]
comment = All Printers
path = /var/spool/samba
printable = Yes
browseable = No
I have installed Samba server on my trixbox using webmin. when I try to log from windows it asks me for username and password but for some reasons it don't give me access, Can some body help me to set the Samaba users.
I tryed with security set to SHARE and to USER nothing works.
# Samba config file created using SWAT
# from 192.168.2.2 (192.168.2.2)
# Date: 2008/01/20 18:09:38
[global]
workgroup = MYGROUP
server string = Samba Server Version %v
encrypt passwords = No
cups options = raw
[root]
comment = Home Directories
writable = yes
path = /root
username = admin
[printers]
comment = All Printers
path = /var/spool/samba
printable = Yes
browseable = No
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
As @Ibu1 said you have to add smbpasswd -a username to add users, you can also try public=yes guest=yes and SHARE
ASKER
Hi, I have done the following:
[global]
workgroup = MYGROUP
server string = Samba Server Version %v
security = SHARE
password server = 123
ldap ssl = no
guest ok = Yes
cups options = raw
encrypt passwords = no
[root]
comment = Home Directories
path = /root
valid users = root
read only = No
acl check permissions = No
public=yes
guest=yes
I can see the root share but when I try to access it it asks for username & password.
I tryed to run smbpasswd -a root changed the password and still it do not give me access...
[global]
workgroup = MYGROUP
server string = Samba Server Version %v
security = SHARE
password server = 123
ldap ssl = no
guest ok = Yes
cups options = raw
encrypt passwords = no
[root]
comment = Home Directories
path = /root
valid users = root
read only = No
acl check permissions = No
public=yes
guest=yes
I can see the root share but when I try to access it it asks for username & password.
I tryed to run smbpasswd -a root changed the password and still it do not give me access...
U did the above mentioned steps or not ?
And one more thing is that the
encrypt passwords = yes
And one more thing is that the
encrypt passwords = yes
ASKER
I have changed the link to encrypt passwords = yes restarted Samaba and still no aceess.
Can you contact me by MSN I can give u SSH access
Can you contact me by MSN I can give u SSH access
ASKER
My MSN: sales (at) mekashron (dot) com
This is blocked in my company.
;(
u did this
cat /etc/passwd | mksmbpasswd.sh > /etc/samba/smbpasswd
;(
u did this
cat /etc/passwd | mksmbpasswd.sh > /etc/samba/smbpasswd
What if u try
security = user
security = user
ASKER
yes I did. if I try security = user it request password right away.
MSN blocked or SSH?
MSN blocked or SSH?
Hi!
These are the minimum required steps I follow on my linux box:
I keep default smb.conf file
issue following commands(while logged in as root or su -)
#service smb start
#smbpasswd -a root
(twice assign the password)
Now on windows machine simply map a network drive by using username root and password assigned with smpasswd -a command. (if you need to provide smb access to other users then user their name with smbpasswd comamnd, -a option is used to add new samba user and assign him a samba password).
If can log in to yahoo messnger then I may be help you only, my ID is smartrealtalks@yahoo.com
These are the minimum required steps I follow on my linux box:
I keep default smb.conf file
issue following commands(while logged in as root or su -)
#service smb start
#smbpasswd -a root
(twice assign the password)
Now on windows machine simply map a network drive by using username root and password assigned with smpasswd -a command. (if you need to provide smb access to other users then user their name with smbpasswd comamnd, -a option is used to add new samba user and assign him a samba password).
If can log in to yahoo messnger then I may be help you only, my ID is smartrealtalks@yahoo.com