|
|
![]() |
|
|
Top | #1 |
|
OSNN Veteran Addict
Joined: March 2002
Location: The Netherlands
Posts: 2,626
Reputation: 270
Power: 153 |
But I have a big problem: How do I add users in tdbsam? I know how to use smbpasswd and the manual has a command for converting the smbpasswd file to the tdbsam file, but I want to add users directly in tdbsam. You might say 'as long as smbpasswd is supported, use it', which is true, but it's officialy depreciated (sp), what if they entirely abandon smbpasswd in a (one of the) next release(s)? That's why I want to know now how I can use the command for tdbsam. Thanks
|
|
|
|
|
|
Top | #2 |
|
*
Joined: December 2001
Location: USA
Posts: 6,496
Reputation: 2808
Power: 220 |
try man tdbsam
|
|
|
|
|
|
Top | #3 |
|
OSNN Veteran Addict
Joined: March 2002
Location: The Netherlands
Posts: 2,626
Reputation: 270
Power: 153 |
already did that:
|
|
|
|
|
|
Top | #4 |
|
*
Joined: December 2001
Location: USA
Posts: 6,496
Reputation: 2808
Power: 220 |
or:
info tdbsam They might be using GNU info instead of man. |
|
|
|
|
|
Top | #5 |
|
OSNN Veteran Addict
Joined: March 2002
Location: The Netherlands
Posts: 2,626
Reputation: 270
Power: 153 |
I am getting all sorts of info about GNU programs, but there is a notice at the bottom:
Is there any tutorial around? I googled around, searched the manual, but nothing. edit: I can only find entries in the manual saying that tdbsam is a password backend and smbpasswd can be converted to tdbsam. ^2
|
|
|
|
|
|
Top | #6 |
|
OSNN Veteran Addict
Joined: March 2002
Location: The Netherlands
Posts: 2,626
Reputation: 270
Power: 153 |
*ahem*
Still found nothing, I'll dig one more time through the manual, though I already did that 2 times. Anyone got an idea? |
|
|
|
|
|
Top | #7 |
|
*
Joined: December 2001
Location: USA
Posts: 6,496
Reputation: 2808
Power: 220 |
|
|
|
|
|
|
Top | #8 |
|
OSNN Veteran Addict
Joined: March 2002
Location: The Netherlands
Posts: 2,626
Reputation: 270
Power: 153 |
Originally Posted by X-Istence
I read that, but it doesn't tell me how to directly store users in a tdbsam passdb backend . At some point in the manual, it tells you about smbpasswd (the file I mean) and it's usage with switches etc, but nothing about tdbsam. The only reference about storing in tdbsam I could find is on the page you pointed me to, it to convert the smbpasswd passdb backend to the tdbsam backend and I want to do that directly, I don't want to first change the smb.conf to use smbpasswd, then create users with smbpasswd and then converting the smbpasswd db to tdbsam and then change the smb.conf file again to use tdbsam. Another reason for me to use tdbsam directly is that the smbpasswd use is officialy depraciated (sp) and might be gone in a next release. I want to be prepared for that.
|
|
|
|
|
|
Top | #9 |
|
OSNN Veteran Addict
Joined: March 2002
Location: The Netherlands
Posts: 2,626
Reputation: 270
Power: 153 |
OR, I just thought about that, is smbpasswd the general command for putting users in databases and it just doesn't matter if you use tdbsam, smbpasswd or a plaintext passwd database?
*goes to try* |
|
|
|
|
|
Top | #10 |
|
OSNN Veteran Addict
Joined: March 2002
Location: The Netherlands
Posts: 2,626
Reputation: 270
Power: 153 |
Wohoo!
Thanks anyway for looking around
|
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| [FreeBSD 5.2/Samba3] Default installation path? | Glaanieboy | Linux & BSD | 3 | September 23rd, 2004 9:38pm |
| RDF backend broken | Glaanieboy | Site Problems & Feedback | 13 | April 12th, 2004 11:19pm |
| New Trillian Pro User info Needed | sportman10 | Windows Desktop Systems | 1 | September 3rd, 2003 4:48pm |
| User Info | Kr0m | Site Problems & Feedback | 1 | January 1st, 2002 9:12pm |