Samba
I have install samba on my machine and i intend to use it as a domain controller.
i've create user1 with pwd1 and user2 with pwd2 i go to my XP workstation and i try to connect to the samba server... user1 give me a 'unknown user or incorect pwd' user2 give me a 'Access denied' were can i start diag this thing? thks |
Hi,
man smbpasswd cu |
Double check to make sure that your computers have the same "workgroup" name and can ping eachother,
also, check directory permissions. Check out webmin (www.webmin.com), it will not only help to manage your samba quite nicely, but other aspects of linux too. |
-yes it does ping
-if i do a net view with my m$ box it doesn't see it... It seems normal since it coul'd join my samba domain home.local -i didn't get any error with testparm -it doesn't resolve it's own name, if i ping sbmserv, i've got an unknown host. - if i type hostname i have a dhcppc1 reply but my smb.conf as a line : netbios name = smbserver |
if you are using xp pro you need tu add a machine acount in your samba: smbpasswd -m <netbios name>
|
Yes, it is a XP Pro
No, it is there with a $ sign and no password I just try to overwrite it but it doesn't change anything... |
I am wondering if i need a bind server to resolve the dn or if it is not necessary?
|
you dont need a dns, samba resolve netbios names, you can read http://hr.uoregon.edu/davidrl/samba/samba-pdc.html if i found e better manual i post you
|
I don't get it!
I tought that a PDC was a domain controller controling a 'domain...' I tought i could get it to resolve domain name and get away from WINS. Can someone clarifies this for me please thks |
I don't get it!
I tought that a PDC was a domain controller controling a 'domain...' I tought i could get it to resolve domain name and get away from WINS. Can someone clarifies this for me please thks |
I don't get it!
I tought that a PDC was a domain controller controling a 'domain...' I tought i could get it to resolve domain name and get away from WINS. Can someone clarifies this for me please thks |
I am fallowing carefully an HOWTO and it seem that i have the isolated the problem a bit
Where it seems to be the problem is something in the fallowing lines that i don't get it... I didn't put anything in those directory, do i have to do anything in Win-profile? %U.bat? \netlogon? [GLOBAL] logon home = \\%L\%U\Win-profile logon drive = s: logon script = %U.bat logon path = \\%L\profiles\\%a\%U [NETLOGON] path = \home\netlogon create mask = 0644 directory mask = 0755 [PROFILES] path = /home/profiles read only =No create mask = 0600 directory mask = 0700 Samba is working because i do have a login window when i try to join the domain.local, it doesn't resolve the name and the password. This is there i stand so far |
logon home = \\%L\%U\Win-profile
shoud that line be: logon home = \\%L\home\%U\Win-profile also should i create that Win-profile directory or file under each user? If so, that does go in? |
what version of samba and distro are you using?
|
This is mi smb.conf and work fine like PDC, i hope this help you:
[global] #smbpasswd file smb passwd file = /etc/smbpasswd # domain workgroup = test # Description server string = Servidor de Acceso y de Aplicacion # like pdc domain logons = yes # user security level security = user # local master local master = yes # for make wins elections os level = 65 # prefered master preferred master = yes # works like pdc domain master = yes encrypt passwords = yes # only if you have more than one eth and only want trusted users # interfaces = <ip trusted> localhost hosts allow = 192.168.0. ;hosts deny = 10.25.0.1 ;add user script = /usr/sbin/useradd -g samba -d /dev/null -s /dev/null -M %u # path for save WinNT/Win2k profiles logon path = \\%L\profiles\%U # path for save Win95/98/ME profiles logon home = \\%L\%U\.profiles # unit letter for users directory logon drive = M: [homes] guest ok = no read only = no browsable = no [netlogon] comment = Domain Service path = /usr/local/samba/netlogon public = no writeable = no [profiles] path = /usr/local/samba/ntprofile writable = yes create mask = 0600 directory mask = 0700 |
All times are GMT -5. The time now is 08:34 PM. |