s3: Fix a winbind race leading to 100% CPU
[Samba.git] / source3 / script / mknissmbpwdtbl.sh
bloba9b34ff9a75d867a3ad5a3a96bbf50070061f2a7
1 #!/bin/sh
3 # Copyright (C) 1998 Benny Holmgren
5 # Creates smbpasswd table and smb group in NIS+
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 \
18 lmpwd=C,nw=,g=r,o=rm \
19 ntpwd=C,nw=,g=r,o=rm \
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 \
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 \
36 hours=,nw+r \
37 smbpasswd.org_dir.`nisdefaults -d`
39 nisgrpadm -c smb.`nisdefaults -d`
41 nischgrp smb.`nisdefaults -d` smbpasswd.org_dir.`nisdefaults -d`