Click to See Complete Forum and Search --> : Samba Print server


Diverdude
06-13-2007, 02:23 PM
Hello all,

I have an NT4 domain (NTDOM) with about 300 users, and 30 printers.
I have a linux centos 5 domain member server acting as a print server.

I installed the printers in CUPS and I can print to them from the server and
I then set up samba to be a member server, and I can see the server in network
Neighborhood. However when any users other then me tries to access the server
A login popup appears but non of my domain users can log in.

When I try wbinfo –u and wbinfo –g I get the list of usernames and groups from
My domain. Here is a copy of my smb.conf file.

[global]
workgroup = NTDOM
server string = Print Server
security = DOMAIN
password server = NT-pdc
username map = /etc/samba/user.map
log file = /var/log/samba/%m.log
max log size = 50
dns proxy = No
preload = printers
default service = printers
idmap uid = 16777216-33554431
idmap gid = 16777216-33554431
winbind trusted domains only = Yes
path = /var/spool/samba
read only = No
hosts allow = 10.78., 127.
cups options = raw

[printers]
comment = All Printers
valid users = NTDOM$users, @$groups
read only = Yes
guest ok = Yes
printable = Yes
browseable = No


Does anyone see anything that I am missing?

Thanks,
Diverdue

leonpmu
06-13-2007, 11:54 PM
Samba servers need the users to exist on their server as well, although, for simple printer sharing you shouldn't need that much security, perhaps check your security settings?? Is this also doing file sharing? If it isn't use SAWt and change your security level to "shared" chaneg browseable to "yes"

Diverdude
06-14-2007, 11:07 AM
I need to use the users and groups from the NT domain, and samba is supposed to do that. I just dont know why its not, when I issue the command wbinfo I see the domain users ( wbinfo -u) and Domain groups (wbinfo -g) however they still do not have access to the printers even though they should have a right.

Has anyone here used linux as a print server in a business?