[Samba] samba server as NT4 domain member- security=domain - need to create password db manually?

Richard Moorhouse rmoorhouse at blueyonder.co.uk
Tue Oct 5 22:24:03 GMT 2004


# Global parameters
[global]
        workgroup = MYDOMAIN
        server string = Samba Server %v on %L
        security = DOMAIN
        log file = /var/log/samba/%m.log
        max log size = 50
        socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
        printcap name = /etc/printcap
        local master = No
        dns proxy = No
        wins server = MYWINSERVER
        idmap uid = 15000-20000
        idmap gid = 15000-20000
        winbind use default domain = Yes

[homes]
        comment = Home Directories
        read only = No
        browseable = No

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

[domain_user]
        comment = My Private Share
        path = /home/samba/domain_username
        valid users = domain_username
        read only = No
        guest ok = Yes

[public]
        path = /home/samba/public
        valid users = domain_user
        read only = No

[data]
        comment = Data Drive
        path = /home/samba/data
        read only = No
        volume = Sample-Data-Drive


Hi

I want to set up a samba domain-member server with shares for office users.
I can see the samba server on the NT/Win2000 network.  I can access the
[data] share above - as it requires no authentication.  The public and
domain_user shares both ask for a username and password when I try to open
them from a windows machine.

As I am using our NT4 domain controller for user authentication I shouldnt
have to use encrypted files and create each samba user with smbpasswd should
I? Thats the point of telling samba I want to use 'domain' isnt it?  If I do
wbinfo -u and wbinfo -g on the samba server I see a list of the groups and
useraccounts.

Can someone tell me what I am missing from smb.conf?  Do I need some
password backend in samba.

Thanks for any help

R.


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.773 / Virus Database: 520 - Release Date: 05/10/2004
 


More information about the samba mailing list