Have you added the users to your smbpasswd file?

smbpasswd -a username
should do this.

Anyone know how to get Linux to work with a domain, so you do not have to add users, 
on every host?

On Tue, 03 Dec 2002 22:05:13 -0700
Johnny Stork <[EMAIL PROTECTED]> wrote:

> Ok all you Linux gurus, lets see how well we can get through a real world, and 
>typical example of a Windows Network Administrator who just plugged in a Linux/Samba 
>box to play PDC and Print server, and now needs to see how well the "community" can 
>help stop his 500 users from ganging up on him cause they cant print. (This is all 
>fictitous but this example is surely a very, very typical one)
> 
> For now Samba/PDC is RH 8, clients are Windows 2000
> 
> 1: Previously had the Samba working fine as PDC with some login scripts and home 
>share mounts.
> 
> 2: Previously had an old HP Deskjet hooked up and shared out from samba and using 
>cups. Was working/printing fine from Linux and Windows clients.
> 
> 
> Just installed a nice new Samsung ML-1450 Laser. Removed the Deskjet from the Samba 
>server, installed new Samsung. Printing from Linux clients through remote cups works 
>fine. Cant get 1200dpi yet, but I can wait.
> 
> I can install the samsung under Windows clients, and using newest local drivers from 
>Samsung. Hovering over printer icon gives "Access denied, unable to connect" but 
>through the nights fiddling, at one time I did get a "ready" but trying to print and 
>nothing happened.
> 
> Been checking out FAQs, samba lists and help sites for 2 hours and have tried a 
>variety of suggestions and nothing works.
> 
> So for now, here is my current smb.conf
> 
> 
> # Global parameters
> [global]
>       workgroup = ACADEMIC
>       netbios name = PENGUIN
>       encrypt passwords = Yes
>       passwd program = /usr/bin/passwd %u
>       passwd chat = local master = yes
>       unix password sync = Yes
>       time server = Yes
>       socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
>       printcap name = cups
>       domain admin group = @adm
>       logon script = logon.cmd
>       logon path = \\%L\%u\Profile
>       logon drive = Z:
>       logon home = \\%L\%u
>       domain logons = Yes
>       os level = 65
>       domain master = True
>       printing = cups
> 
> [Netlogon]
>       comment = Network Logon Services
>       path = /home/netlogon
>       guest ok = Yes
>       locking = No
> 
> [homes]
>       comment = Home Directories
>       path = /home/%U
>       valid users = %U Administrator
>       force user = %U
>       read only = No
>       create mask = 0600
>       directory mask = 0700
> 
> [Printers]
>       comment = All Printers
>       path = /var/spool/samba
>       guest ok = Yes
>       printable = Yes
>       browseable = No
>       writeable = yes
>       public = yes
>       use client driver = yes
> 
> [Data]
>       comment = Data
>       path = /mnt/Data
> 
> [Samsung]
>       comment = Samsung ML-1450
>       path = /var/spool/samba
>       read only = No
>       guest ok = Yes
>       printable = Yes
>       writeable = yes
>       public = yes
>       printer name = Samsung
>       oplocks = No
> 
> 
> ________________________________
> Open Enterprise Solutions
> Open Solutions for an Open World
> 
> Johnny Stork, BA
> Calgary, AB
> Canada
> 
> http://www.openenterprise.ca 
> http://www.open-solutions.ca
> 
> 
> 
> 

Reply via email to