FW: NIS+ database problem while trying to use smbpasswd
Santomauro, Deborah
deborah.santomauro at lmco.com
Fri Aug 17 15:50:29 GMT 2001
Question: which "smbpasswd" file is being referenced in this statement
(taken from http://home.monyo.com/technical/samba/NISPLUS.en.txt
documentation)?
# cat smbpasswd | source/script/mknissmbpasswd.sh
If it's referring to /usr/local/samba/private/smbpasswd, it won't work since
this file does not exist (this was my original problem - "not being able to
add users")
thx,
-deb
-----Original Message-----
From: Santomauro, Deborah [mailto:deborah.santomauro at lmco.com]
Sent: Thursday, August 16, 2001 12:24 PM
To: Samba Group (E-mail); SAMBA-TECH (E-mail)
Subject: NIS+ database problem while trying to use smbpasswd
I tried running the "cat smbpasswd | source/script/mknissmbpasswd.sh" script
but I'm running into a new problem. Even though I was able to successfully
create the "smbpasswd.org_dir" table, (used source/script/mknissmbpwdtbl.sh)
the mknissmbpasswd.sh failed, saying that it could not find the
smbpasswd.org_dir.<domain>. Is there something that I am still missing in
trying to get this to run correctly?
TIA,
Deborah
Here is partial output from the attempt to run the mknissmbpasswd.sh script
(before running it, I scripted so that I would have a log of the process)
(44 Ô": Not found.
./mknissmbpasswd.sh: smbpasswd.org_dir.asas.ast.lmco.com.: not found
pwdlset_t="º": Not found.
./mknissmbpasswd.sh: smbpasswd.org_dir.asas.ast.lmco.com.: not found
pwdlset_t="º": Not found.
./mknissmbpasswd.sh: smbpasswd.org_dir.asas.ast.lmco.com.: not found
pwdlset_t="¼^L¼¥öÒ": Not found.
I did the same (scripting) when I ran the first script (mknissmbpwdtbl.sh)
and it stipulates that the smbpasswd.org_dir was created. Doing a "nisgrep
-o smbpasswd.org_dir" displays a whole lot of info. here's a partial
listing:
Object Name : "smbpasswd"
Directory : "org_dir.asas.ast.lmco.com."
Owner : "arls4000.asas.ast.lmco.com."
Group : "smb.asas.ast.lmco.com."
Access Rights : ----rmcdrmcd----
Time to Live : 12:0:0
Creation Time : Thu Aug 16 08:12:20 2001
Mod. Time : Thu Aug 16 08:14:48 2001
Object Type : TABLE
Table Type : smbpasswd_tbl
Number of Columns : 22
Character Separator : :
Search Path :
Columns :
[0] Name : name
Attributes : (SEARCHABLE, TEXTUAL DATA, CASE SENSITIVE)
Access Rights : r---r---r---r---
[1] Name : uid
Attributes : (SEARCHABLE, TEXTUAL DATA, CASE SENSITIVE)
Access Rights : r---r---r---r---
Deborah Santomauro
Unix System Administrator
Lockheed Martin Mission Systems
email: deborah.santomauro at lmco.com
Work: 303-971-7333
Fax: 303-977-4965
o, o__ o_/| o_.
</ [\/ [\_| [\_\
(`-/-------/----') (`----|-------\-')
~~@~~~~~~~@~~~~~~~~~~~~~~~~~~~@~~~~~~~~@~~~~
-When you come to the end of your rope, tie a knot and hang on.-
Franklin Delano
Roosevelt
More information about the samba-technical
mailing list