Re: [Samba] Samba Configuration
Hey Guido, I just wanted to update you in that I got it working. For /home/admin, I chowned admin:admins, and chmoded 770 After doing this I was able to write to the directory as admin, and also write to it as admin on XP. Also other users are unable to see the directory. Just wanted to say thank you again for the help. -- View this message in context: http://www.nabble.com/Samba-Configuration-tp22566973p22592802.html Sent from the Samba - General mailing list archive at Nabble.com. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] Samba Configuration
Thanks Guido. I think I'm a little confused though :) Here's what I added to my smb.conf: [admin] path = /home/admin browseable = yes public = no writable = yes nt acl support = no valid users = @admin When I do ls -ld /home/admin I get: drwx--x--x 8 admin wheel 4096 2009-03-18 00:49 /home/admin And getfacl: getfacl /home/admin # file: home/admin # owner: admin # group: wheel user::rwx group::--x other::--- So should I create a group, say "addrw" and add my admin user to it? Thank you again, I appreciate your help. -- View this message in context: http://www.nabble.com/Samba-Configuration-tp22566973p22585997.html Sent from the Samba - General mailing list archive at Nabble.com. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] Samba Configuration
I think I'm making some progress.. I can now write to the directory. If I chown admin:"domain admins" admin I can then write to the directory on the XP side. I can see domain permissions, but cannot edit them. However in doing this, I can no longer access the directory as my user on the Linux side. I tried creating a new group called 'samba' and added my admin user, along with my XP user. I kept the owner as admin. Now I can access the folder on the Linux side, but not the XP. *frustration!* And thanks for the help. -- View this message in context: http://www.nabble.com/Samba-Configuration-tp22566973p22572874.html Sent from the Samba - General mailing list archive at Nabble.com. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] Samba Configuration
ls -ld /home/admin: drwxr-xr-x 2 admin domain admins 4096 2009-03-17 21:40 admin -- View this message in context: http://www.nabble.com/Samba-Configuration-tp22566973p22572372.html Sent from the Samba - General mailing list archive at Nabble.com. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] Samba Configuration
Thanks for the replies guys. My nsswitch.conf has the following: passwd: compat winbind group: compat winbind shadow: compat winbind And I am on the hosts allow network. If I remove the valid users, I can still access the share; I just cannot write to it. Output of testparm: Load smb config files from /etc/samba/smb.conf Processing section "[admin]" Processing section "[tmp]" Loaded services file OK. 'winbind separator = +' might cause problems with group membership. Server role: ROLE_DOMAIN_MEMBER Press enter to see a dump of your service definitions And here are some of the things I've seen in the logs. Let me know if you need to see any other logs. ==winbind.log== [2009/03/17] 00:55:28 3] winbindd/winbindd_misc.c:winbindd_domain_info(654) [5888]: domain_info [ADSERVER] [2009/03/17] 00:55:28 3] winbindd/winbindd_misc.c:winbindd_ping(733) [5888]: ping [2009/03/17] 00:55:28 3] winbindd/winbindd_misc.c:winbindd_lookkupname(102) [5888]: lookupname ADSERVER+admin Now I've tried some things since to see if I can get it working. Since AD authentication is working, I logged in with my admin user and created a home directory. Permissions for the directory are 755, with admin:domain admins for ownership. I figured, well if I have the same user logged in on my Linux machine that I have on my XP machine, I should be able to read/write right? Well when I go to the admin share on my XP machine, I can see everything fine. I can even see that domain permissions are being applied. However I am still unable to write! I really appreciate the help, thanks. -- View this message in context: http://www.nabble.com/Samba-Configuration-tp22566973p22571583.html Sent from the Samba - General mailing list archive at Nabble.com. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] Samba Configuration
Thanks for the replies guys. My nsswitch.conf has the following: passwd: compat winbind group: compat winbind shadow: compat winbind And I am on the hosts allow network. If I remove the valid users, I can still access the share; I just cannot write to it. Output of testparm: Load smb config files from /etc/samba/smb.conf Processing section "[admin]" Processing section "[tmp]" Loaded services file OK. 'winbind separator = +' might cause problems with group membership. Server role: ROLE_DOMAIN_MEMBER Press enter to see a dump of your service definitions And here are some of the things I've seen in the logs. Let me know if you need to see any other logs. ==winbind.log== [2009/03/17] 00:55:28 3] winbindd/winbindd_misc.c:winbindd_domain_info(654) [5888]: domain_info [ADSERVER] [2009/03/17] 00:55:28 3] winbindd/winbindd_misc.c:winbindd_ping(733) [5888]: ping [2009/03/17] 00:55:28 3] winbindd/winbindd_misc.c:winbindd_lookkupname(102) [5888]: lookupname ADSERVER+admin Now I've tried some things since to see if I can get it working. Since AD authentication is working, I logged in with my admin user and created a home directory. Permissions for the directory are 755, with admin:domain admins for ownership. I figured, well if I have the same user logged in on my Linux machine that I have on my XP machine, I should be able to read/write right? Well when I go to the admin share on my XP machine, I can see everything fine. I can even see that domain permissions are being applied. However I am still unable to write! I really appreciate the help, thanks. -- View this message in context: http://www.nabble.com/Samba-Configuration-tp22566973p22571574.html Sent from the Samba - General mailing list archive at Nabble.com. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] Samba Configuration
Thanks for the replies guys. My nsswitch.conf has the following: passwd: compat winbind group: compat winbind shadow: compat winbind And I am on the hosts allow network. If I remove the valid users, I can still access the share; I just cannot write to it. Output of testparm: Load smb config files from /etc/samba/smb.conf Processing section "[admin]" Processing section "[tmp]" Loaded services file OK. 'winbind separator = +' might cause problems with group membership. Server role: ROLE_DOMAIN_MEMBER Press enter to see a dump of your service definitions And here are some of the things I've seen in the logs. Let me know if you need to see any other logs. ==winbind.log== [2009/03/17] 00:55:28 3] winbindd/winbindd_misc.c:winbindd_domain_info(654) [5888]: domain_info [ADSERVER] [2009/03/17] 00:55:28 3] winbindd/winbindd_misc.c:winbindd_ping(733) [5888]: ping [2009/03/17] 00:55:28 3] winbindd/winbindd_misc.c:winbindd_lookkupname(102) [5888]: lookupname ADSERVER+admin Now I've tried some things since to see if I can get it working. Since AD authentication is working, I logged in with my admin user and created a home directory. Permissions for the directory are 755, with admin:domain admins for ownership. I figured, well if I have the same user logged in on my Linux machine that I have on my XP machine, I should be able to read/write right? Well when I go to the admin share on my XP machine, I can see everything fine. I can even see that domain permissions are being applied. However I am still unable to write! I really appreciate the help, thanks. -- View this message in context: http://www.nabble.com/Samba-Configuration-tp22566973p22571570.html Sent from the Samba - General mailing list archive at Nabble.com. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] Samba Configuration
Thanks for the replies guys. My nsswitch.conf has the following: passwd: compat winbind group: compat winbind shadow: compat winbind And I am on the hosts allow network. If I remove the valid users, I can still access the share; I just cannot write to it. Output of testparm: Load smb config files from /etc/samba/smb.conf Processing section "[admin]" Processing section "[tmp]" Loaded services file OK. 'winbind separator = +' might cause problems with group membership. Server role: ROLE_DOMAIN_MEMBER Press enter to see a dump of your service definitions And here are some of the things I've seen in the logs. Let me know if you need to see any other logs. ==winbind.log== [2009/03/17] 00:55:28 3] winbindd/winbindd_misc.c:winbindd_domain_info(654) [5888]: domain_info [ADSERVER] [2009/03/17] 00:55:28 3] winbindd/winbindd_misc.c:winbindd_ping(733) [5888]: ping [2009/03/17] 00:55:28 3] winbindd/winbindd_misc.c:winbindd_lookkupname(102) [5888]: lookupname ADSERVER+admin Now I've tried some things since to see if I can get it working. Since AD authentication is working, I logged in with my admin user and created a home directory. Permissions for the directory are 755, with admin:domain admins for ownership. I figured, well if I have the same user logged in on my Linux machine that I have on my XP machine, I should be able to read/write right? Well when I go to the admin share on my XP machine, I can see everything fine. I can even see that domain permissions are being applied. However I am still unable to write! I really appreciate the help, thanks. -- View this message in context: http://www.nabble.com/Samba-Configuration-tp22566973p22571567.html Sent from the Samba - General mailing list archive at Nabble.com. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] Samba Configuration
Thanks for the replies guys. My nsswitch.conf has the following: passwd: compat winbind group: compat winbind shadow: compat winbind And I am on the hosts allow network. If I remove the valid users, I can still access the share; I just cannot write to it. Output of testparm: Load smb config files from /etc/samba/smb.conf Processing section "[admin]" Processing section "[tmp]" Loaded services file OK. 'winbind separator = +' might cause problems with group membership. Server role: ROLE_DOMAIN_MEMBER Press enter to see a dump of your service definitions And here are some of the things I've seen in the logs. Let me know if you need to see any other logs. ==winbind.log== [2009/03/17] 00:55:28 3] winbindd/winbindd_misc.c:winbindd_domain_info(654) [5888]: domain_info [ADSERVER] [2009/03/17] 00:55:28 3] winbindd/winbindd_misc.c:winbindd_ping(733) [5888]: ping [2009/03/17] 00:55:28 3] winbindd/winbindd_misc.c:winbindd_lookkupname(102) [5888]: lookupname ADSERVER+admin Now I've tried some things since to see if I can get it working. Since AD authentication is working, I logged in with my admin user and created a home directory. Permissions for the directory are 755, with admin:domain admins for ownership. I figured, well if I have the same user logged in on my Linux machine that I have on my XP machine, I should be able to read/write right? Well when I go to the admin share on my XP machine, I can see everything fine. I can even see that domain permissions are being applied. However I am still unable to write! I really appreciate the help, thanks. -- View this message in context: http://www.nabble.com/Samba-Configuration-tp22566973p22571562.html Sent from the Samba - General mailing list archive at Nabble.com. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
[Samba] Samba Configuration
Hi all, for the life of me I cannot figure out this problem. I'm trying to get Samba working with my AD environment. No matter what I try I cannot seem to get it working. Mind you, I can authenticate to the server if I type wbinfo -a username. I was also successful in joining it to AD. My problem is when I try to access a share, say Home, I get a message asking for a user/pass which it rejects. Here is my smb.conf: [global] workgroup = ADSSERVER netbios name = ArchDesktop server string = Samba Server hosts allow = 192.168.2. 127. log file = /var/log/samba/%m.log max log size = 1000 security = ADS encrypt passwords = yes winbind enum users = yes winbind enum groups = yes winbind use default domain = yes winbind nested groups = yes winbind separator = + idmap uid = 600-2 idmap gid = 600-2 template shell = /bin/bash realm = ADSSERVER preferred master = no dns proxy = no [Home] comment = My Home Directory path = /home/admin read only = no inherit acls = yes inherit permissions = yes create mask = 700 directory mask = 700 valid users = @"ADSSERVER+Domain Users" admin users = @"ADSSERVER+Domain Admins" [tmp] comment = Temporary File Space path = /tmp read only = no inherit acls = yes inherit permissions = yes create mask = 700 directory mask = 700 valid users = @"ADSSERVER+Domain Users" admin users = @"ADSSERVER+Domain Admins" If anyone can point me in the right direction it would be much appreciated. Thanks. -- View this message in context: http://www.nabble.com/Samba-Configuration-tp22566973p22566973.html Sent from the Samba - General mailing list archive at Nabble.com. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba