FW: Using the "nis" scripts to add users in Samba

Santomauro, Deborah deborah.santomauro at lmco.com
Thu Aug 16 14:05:59 GMT 2001


I'm including my current smb.conf file - I more or less followed the
examples that were listed in the documentation found on
http://home.monyo.com/technical/samba/NISPLUS.en.txt; let me know if I've
set it up correctly. Thanks!!

-deb

CURRENT SMB.CONF FILE ON MY SAMBA SERVER:

# Samba config file created using SWAT
# from localhost (127.0.0.1)
# Date: 2001/08/14 11:32:50

# Global parameters
[global]
        workgroup = LMFSCOS
        netbios name = NETSERV
        encrypt passwords = Yes
        security = user
        username map = /usr/local/samba/lib/smbusers
        password level = 8
        passwd program = /usr/bin/passwd -r nisplus
        smb passwd file = smbpasswd.org_dir
        username level = 8
        log level = 3
        log file = /usr/local/samba/lib/log.%m
        include = /usr/local/samba/lib/smb.conf.%m
        nis homedir = Yes
        printcap name = /usr/bin/lpstat -o 
        wins server = 160.205.31.37
        hosts allow = 120.127. 160.205.18. 160.205.112. 160.205.118.

[homes]
        comment = "Unix home Directory for : %u "
        path = /users/%u
        read only = No
        create mode = 644
        writable = yes
        browseable = No

[junk]
        comment = test
        path = /export/samba
        read only = No

[printers]
        comment = System printers
        path = /var/spool/samba
        create mask = 0700
        guest ok = Yes
        printable = Yes
        browseable = No


-----Original Message-----
From: monyo at samba.gr.jp [mailto:monyo at samba.gr.jp]
Sent: Wednesday, August 15, 2001 9:24 AM
To: deborah.santomauro at lmco.com
Cc: samba-docs at samba.org; samba-technical at samba.org; samba at samba.org
Subject: Re: Using the "nis" scripts to add users in Samba


Santomauro, Deborah wrote:
>Question: do these have to run on the master server?

Please read http://home.monyo.com/technical/samba/NISPLUS.en.txt

You have to run on the master server or change the permission of NIS+
table.

btw, I want to contribute this document and want anyone to refine
English.

-----
TAKAHASHI, Motonobu(monyo)         monyo at samba.org
Personal - http://home.monyo.com/
Samba Team - http://samba.org/     Samba-JP - http://www.samba.gr.jp/  
JWNTUG - http://www.jwntug.or.jp/  Analog-JP - http://www.jp.analog.cx/
MCSE+I, SCNA, CCNA, Turbo-CI




More information about the samba-technical mailing list