Still cant get Suse 9.1 pro (Samba) as a PDC
After reading numerous guides on how to set-up this "easy" to set-up PDC i still dont know what im supposed to be doing. I cant tell if my Samba.conf file is correct as i dont know how to test it, and i can't for the love of god add any users or create an active directory.
I also cant access the windows xp machines from the Suse machine.. |
For the initial PDC setup, use YAST and select the PDC radio button. That will get you started,
You say you want to create an Active Directory. For that, you'd be a member server in 200X, not a PDC for NT emulation. I'm not an expert on samba, but it makes me wonder what you are really trying to do since you've used those words in your post. |
Im trying to set-up a PDC on samba, i cannot do it using Samba or YaST. Iv edited the samba.conf file to what the guides tell me to and i can't add users..
Lets start at the first thing im trying to do, let Win xp machines log-on to the server so they are members of the domain and have access rights/Shared media/home directories etc... This is my smb.conf file... # smb.conf is the main Samba configuration file. You find a full commented # version at /usr/share/doc/packages/samba/examples/smb.conf.SuSE # Date: 2004-04-06 [global] workgroup = morandad.local interfaces = 127.0.0.1 eth0 bind interfaces only = true printing = cups printcap name = cups printer admin = @ntadmin, root, administrator map to guest = Bad User security = user encrypt passwords = yes server string = Samba Server hosts allow = 192.168.1.1/255.255.255.0 d-link (Is this ip of linux box?) netbios name = morandad.local useradd -d /dev/null -c dazroomt10 account -s /bin/false dazroomt10$ passwd -l dazroomt10$ smbpasswd -a -m dazroomt10 smbpasswd root domain master = yes domain logons = yes preferred master = yes logon path = \\%n\profiles\%u (Is this correct) logon drive = q: (Is this correct) logon home = \\saturn\%u (This was an e.g. would mine be c:?) local master = yes preferred master = yes os level = 65 ldap suffix = dc=example,dc=com ldap admin dn = ou=ldapconfig,dc=example,dc=com [net logon] comment = the domain logon service path = /var/lib/samba/netlogon guest ok = yes writable = no share modes = no [homes] comment = Home Directories valid users = %S browseable = no read only = No guest ok = no printable = no [users] comment = All users path = /home writeable = Yes inherit permissions = Yes veto files = /aquota.user/groups/shares/ browseable = yes guest ok = no printable = no [groups] comment = All groups path = /home/groups writeable = Yes inherit permissions = Yes browseable = yes guest ok = no printable = no [pdf] comment = PDF creator path = /var/tmp printable = yes print command = /usr/bin/smbprngenpdf -J '%J' -c %c -s %s -u '%u' -z %z create mask = 0600 browseable = yes guest ok = no [printers] comment = All Printers path = /var/tmp printable = yes create mask = 0600 browseable = no guest ok = no [print$] comment = Printer Drivers path = /var/lib/samba/drivers write list = @ntadmin root force group = ntadmin create mask = 0664 directory mask = 0775 browseable = yes guest ok = no printable = no I have tried following guides that are not much help. At this rate im concidering sticking with windows as linux is far too much work even if you do take the time to read the guides (Which are not very straight) |
Well, I copied mine but inserted your machines name. At worst, backup the one you have, insert this one, type SMBD RESTART, and see what happens.
You still have to add machine accounts and users if you haven't If you are online, you can try messaging me. MSN - musicman_ace@msn.com AIM - musicmanace # Doc Title: smb.conf # Location: /etc/samba/smb.conf # Date: 2004-05-21 # Creator: Carnahan # Version: Samba 3.0.2 [global] workgroup = morandad.local printing = cups printcap name = cups printcap cache time = 750 cups options = raw printer admin = @ntadmin, root, administrator username map = /etc/samba/smbusers map to guest = Bad User logon path = \\%L\profiles\.msprofile logon home = \\%L\%U\.9xprofile logon drive = P: security = user encrypt passwords = yes server string = Samba 3 PDC netbios name = morandad.local add machine script = /usr/sbin/useradd -c Machine -d /var/lib/nobody -s /bin/false %m$ domain master = yes domain logons = yes local master = yes preferred master = yes os level = 65 ldap suffix = dc=example,dc=com [homes] comment = Home Directories valid users = %S browseable = no read only = No inherit permissions = Yes guest ok = no printable = no [profiles] comment = Network Profiles Service path = %H read only = No store dos attributes = Yes create mask = 0600 directory mask = 0700 browseable = yes guest ok = no printable = no [users] comment = All users path = /home read only = No inherit permissions = Yes veto files = /aquota.user/groups/shares/ browseable = yes guest ok = no printable = no [groups] comment = All groups path = /home/groups read only = No inherit permissions = Yes browseable = yes guest ok = no printable = no |
You may try Webmin this is the program I use to configure most of my servers, it has a great straight forward interface and has a plugin that converts your systems users to Samba users, as well as assign them passwords. Webmin is by no means a substitute for a good thourough knowlage about samba but for someone new to samba it offers a good way to get up and running fast.
|
Ok ill try that, but what about the adding of the machines using the Root console? everytime i try it keeps saying "cannot find home directory" or "cannot find /bin/false"
|
global]
workgroup = morandad.local interfaces = 127.0.0.1 eth0 bind interfaces only = true printing = cups printcap name = cups printer admin = @ntadmin, root, administrator map to guest = Bad User security = server encrypt passwords = yes server string = Samba Server hosts allow = 192.168.1.0/255.255.255.0 netbios name = morandad.local useradd -d /dev/null -c dazroomt10 account -s /bin/false dazroomt10$ passwd -l dazroomt10$ smbpasswd -a -m dazroomt10 smbpasswd root domain master = yes domain logons = yes preferred master = yes logon path = \\%n\profiles\%u logon drive = q: logon home = \\saturn\%u local master = yes preferred master = yes os level = 65 ldap suffix = dc=example,dc=com ldap admin dn = ou=ldapconfig,dc=example,dc=com [net logon] comment = the domain logon service path = /var/lib/samba/netlogon guest ok = yes writable = no share modes = no [homes] comment = Home Directories valid users = %S browseable = no read only = No guest ok = no printable = no [users] comment = All users path = /home writeable = Yes inherit permissions = Yes veto files = /aquota.user/groups/shares/ browseable = yes guest ok = no printable = no [groups] comment = All groups path = /home/groups writeable = Yes inherit permissions = Yes browseable = yes guest ok = no printable = no [pdf] comment = PDF creator path = /var/tmp printable = yes print command = /usr/bin/smbprngenpdf -J '%J' -c %c -s %s -u '%u' -z %z create mask = 0600 browseable = yes guest ok = no [printers] comment = All Printers path = /var/tmp printable = yes create mask = 0600 browseable = no guest ok = no [print$] comment = Printer Drivers path = /var/lib/samba/drivers write list = @ntadmin root force group = ntadmin create mask = 0664 directory mask = 0775 browseable = yes guest ok = no printable = no |
All times are GMT -5. The time now is 02:12 AM. |