LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Samba joinng to windows 2003 domain (https://www.linuxquestions.org/questions/linux-networking-3/samba-joinng-to-windows-2003-domain-186023/)

subzero80 05-26-2004 08:45 AM

Samba joinng to windows 2003 domain
 
I am running redhat 8.0 and samba 2.2.5-10. I want to be able to join it to the domain so I can set samba shares for specific users. Right now I can see the server in the domain but when ever I try to grab a file it asks me to logon to it.. Thanks for the help everyone.. Later

pauljtester 05-26-2004 09:07 AM

my guess is (without the smb.conf file) that you need to specify valid domain users

example:

[temp]
path = /var/tmp
comment = Random File Space
valid users = YourDomain+someuser
writable = yes
read only = no
browseable = yes

This assumes you are using '+' as your winbind separator...

Cheers,
P

subzero80 05-26-2004 10:59 AM

is there a way to just give readonly access to everyone of the domain to a certain share with out putting all there user names into the list? How can I join this samba server to a windows 2000 domain? Below is my smb.conf file.. Thanks for the help

[global]
log file = /var/log/samba/%m.log
passwd chat = *New*password* %n\n *Retype*new*password* %n\n *passwd:*all*authentication*tokens*updated*successfully*
obey pam restrictions = Yes
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
wins server = 10.5.55.249
encrypt passwords = Yes
passwd program = /usr/bin/passwd %u
dns proxy = No
netbios name = soft2k
netbios aliases = soft2k
server string = Samba Server
printing = lprng
unix password sync = Yes
workgroup = test
os level = 20
max log size = 0
pam password change = Yes

[homes]
create mask = 0664
browseable = no
comment = Home Directories
directory mask = 0775
valid users = %S
writable = yes

[printers]
comment = All Printers
path = /var/spool/samba
printable = Yes
browseable = No

[softhome]
comment = software home
writeable = yes
valid users = @root,@admin
create mode = 664
write list = @admin,@root
path = /softhome
directory mode = 775


[CDROM]
comment = CDROM Drive
path = /mnt/cdrom

[Softwaredump]
read list = nobody,@nobody
writeable = yes
create mode = 664
public = yes
path = /softhome/SoftwareDump
write list = administrator,@admin,@root


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