LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-02-2003, 03:22 AM   #1
Joshsawyer77
LQ Newbie
 
Registered: Dec 2002
Location: Milwaukee
Distribution: Mandrake
Posts: 22

Rep: Reputation: 15
Unhappy Saba no go


Well I finaly got samba to use my PDC for logons. My problem now is I cant seem to use my NT box to set file permissions on my samba shares that are in my Mandrake 9.0 box. I always get an access denied error. I can browse my shares but am unable to write any files to them.
I also need to know if there is a way that I can creat the user directories as the users login? Or do I need to make them all before they login?

here is a copy of my smb.conf:

[global]
workgroup = HOMENET
netbios name = VETTY
server string = Linux server
security = DOMAIN
encrypt passwords = Yes
null passwords = Yes
password server = transam
passwd program = /usr/bin/passwd %u
passwd chat = *New*UNIX*password* %n\n *ReType*new*UNIX*p
unix password sync = Yes
log file = /var/log/samba/log.%m
max log size = 50
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=819
printcap name = lpstat
domain admin group = Homenet
domain master = No
dns proxy = No
wins server = transam
winbind uid = 10000-20000
winbind gid = 10000-20000
winbind separator = +
printing = cups
nt acl support = yes
[homes]
comment = Home Directories
read only = No
browseable = No

[printers]
comment = All Printers
path = /var/spool/samba
create mask = 0700
guest ok = Yes
printable = Yes
lpq command = lpstat -o %p
lprm command = cancel %p-%j
browseable = No

[public]
comment = Public Stuff
path = /home/samba/public
read only = no
write list = homenet+administrator
guest ok = Yes
 
Old 01-02-2003, 05:55 AM   #2
Donald1000
Member
 
Registered: Oct 2002
Location: Germany
Distribution: Debian, Non-Linux: Solaris, FreeBSD
Posts: 107

Rep: Reputation: 15
Put the users Administrator and Homenet in a Group and change the owner of the /home/public/samba to this group. (or try it with nouser.nogroup) Set the Permissions to "chmod 777"
 
Old 01-02-2003, 01:20 PM   #3
Joshsawyer77
LQ Newbie
 
Registered: Dec 2002
Location: Milwaukee
Distribution: Mandrake
Posts: 22

Original Poster
Rep: Reputation: 15
The problem is how do I get the Homenet groups into the linuxbox? When I use "usermod -g root homenet+administrator" I get this reply back
"usermod: homenet+administrator not found in /etc/passwd" I use the getent comand but that just prints out a list of my users from from both the Linux side and the NT side. is this suppose to update the /etc/passwd file?
 
Old 01-02-2003, 06:30 PM   #4
Donald1000
Member
 
Registered: Oct 2002
Location: Germany
Distribution: Debian, Non-Linux: Solaris, FreeBSD
Posts: 107

Rep: Reputation: 15
Do i understand this.... you want to add Homenet and Administrator in the root group? If it is so, then type "adduser homenet root" and "adduser administrator root" - Give a password to Homenet and Administraotor as root with "passwd homenet" .....
 
Old 01-02-2003, 07:35 PM   #5
Joshsawyer77
LQ Newbie
 
Registered: Dec 2002
Location: Milwaukee
Distribution: Mandrake
Posts: 22

Original Poster
Rep: Reputation: 15
Homenet ie... is the name of my domain at home. so that "Homenet+administrator" is the "domain\account" that I want to use to set permissions on my server.
What I want to do is be able to assign permissions to linux files and directories using my NT domain users and groups. I also want to have all of my users and there passwords managed from my NT PDC. Right now I cant seem to do this.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off




All times are GMT -5. The time now is 12:18 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration