~vcs-imports/samba/main

« back to all changes in this revision

Viewing changes to source/script/mknissmbpwdtbl.sh

  • Committer: jerry
  • Date: 2006-07-14 21:48:39 UTC
  • Revision ID: vcs-imports@canonical.com-20060714214839-586d8c489a8fcead
gutting trunk to move to svn:externals

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#!/bin/sh
2
 
#
3
 
# Copyright (C) 1998 Benny Holmgren
4
 
#
5
 
# Creates smbpasswd table and smb group in NIS+
6
 
#
7
 
 
8
 
nistbladm \
9
 
    -D access=og=rmcd,nw= -c \
10
 
    -s : smbpasswd_tbl \
11
 
        name=S,nogw=r \
12
 
        uid=S,nogw=r \
13
 
                user_rid=S,nogw=r \
14
 
                smb_grpid=,nw+r \
15
 
                group_rid=,nw+r \
16
 
                acb=,nw+r \
17
 
                          \
18
 
        lmpwd=C,nw=,g=r,o=rm \
19
 
        ntpwd=C,nw=,g=r,o=rm \
20
 
                                     \
21
 
                logon_t=,nw+r \
22
 
                logoff_t=,nw+r \
23
 
                kick_t=,nw+r \
24
 
                pwdlset_t=,nw+r \
25
 
                pwdlchg_t=,nw+r \
26
 
                pwdmchg_t=,nw+r \
27
 
                                \
28
 
                full_name=,nw+r \
29
 
                home_dir=,nw+r \
30
 
                dir_drive=,nw+r \
31
 
                logon_script=,nw+r \
32
 
                profile_path=,nw+r \
33
 
                acct_desc=,nw+r \
34
 
                workstations=,nw+r \
35
 
                                   \
36
 
                hours=,nw+r \
37
 
        smbpasswd.org_dir.`nisdefaults -d`
38
 
 
39
 
nisgrpadm -c smb.`nisdefaults -d`
40
 
 
41
 
nischgrp smb.`nisdefaults -d` smbpasswd.org_dir.`nisdefaults -d`
42