Dear Samba Users, I have a Samba 3.2.5 Server running on Debian. I use tdbsam as a password database and wonder how I can change the "Workstations" value in order to control the allowed workstations for a particular user. Last year I had a configuration with ldap using the smbldap tools where it was possible to set this value. But how can I set it without LDAP just using pdbedit? In the official Samba 3.2.x HOWTO and Reference Guide in Chapter 11 Section "The pdbedit Tool" (http://www.samba.org/samba/docs/man/Samba-HOWTO-Collection/passdb.html#pdbe ditthing) there is an example where "Workstations" is set to "melbelle" - but no explanation of how this could be done. There is also no parameter listed in the pdbedit man page. Any hints? Philipp
On 10/8/2009 2:23 AM, Philipp Boksberger wrote:> I have a Samba 3.2.5 Server running on Debian. I use tdbsam as a password > database and wonder how I can change the "Workstations" value in order to > control the allowed workstations for a particular user. Last year I had a > configuration with ldap using the smbldap tools where it was possible to set > this value. But how can I set it without LDAP just using pdbedit? > > In the official Samba 3.2.x HOWTO and Reference Guide in Chapter 11 Section > "The pdbedit Tool" > (http://www.samba.org/samba/docs/man/Samba-HOWTO-Collection/passdb.html#pdbe > ditthing) there is an example where "Workstations" is set to "melbelle" - > but no explanation of how this could be done. There is also no parameter > listed in the pdbedit man page.My understanding is you cannot manage this attribute from the pdbedit CLI, you must use the NT4 Domain User Manager. -- Best regards, Charles
> My understanding is you cannot manage this attribute from the pdbedit > CLI, you must use the NT4 Domain User Manager.I tried the NT4 Domain User Manager, but there I can only enter up to eight workstations while I need 30 to 50 entries there. Philipp
2009/10/9 Philipp Boksberger <sys.admin at bogenhofen.at>:>> My understanding is you cannot manage this attribute from the pdbedit >> CLI, you must use the NT4 Domain User Manager. > > I tried the NT4 Domain User Manager, but there I can only enter up to eight > workstations while I need 30 to 50 entries there.Maybe you could try fiddling with tdbtool to edit the relevant tdb files, but it may completely mess everything up, and I know next to nothing about what is stored in the tdb files etc., so if you do decide to be reckless and use tdbtool to edit them manually, don't complain to me when it breaks :) -- Michael Wood <esiotrot at gmail.com>
On 10/9/2009 8:45 AM, Philipp Boksberger wrote:>> My understanding is you cannot manage this attribute from the pdbedit >> CLI, you must use the NT4 Domain User Manager.> I tried the NT4 Domain User Manager, but there I can only enter up to eight > workstations while I need 30 to 50 entries there.Hi Philipp, Please keep replies on list... I've never had to add more than 2 or 3, so never run into this limit... Sorry... -- Best regards, Charles
On Donnerstag, 8. Oktober 2009 wrote Philipp Boksberger:> Dear Samba Users, > > > > I have a Samba 3.2.5 Server running on Debian. I use tdbsam as a > password database and wonder how I can change the "Workstations" > value in order to control the allowed workstations for a particular > user. Last year I had a configuration with ldap using the smbldap > tools where it was possible to set this value. But how can I set it > without LDAP just using pdbedit? > > In the official Samba 3.2.x HOWTO and Reference Guide in Chapter 11 > Section "The pdbedit Tool" > (http://www.samba.org/samba/docs/man/Samba-HOWTO-Collection/passdb.ht >ml#pdbe ditthing) there is an example where "Workstations" is set to > "melbelle" - but no explanation of how this could be done. There is > also no parameter listed in the pdbedit man page.try: -m :-) pdbedit --help :-)> > > Any hints? > > > > Philipp-- Gruss Harry Jede
On Freitag, 9. Oktober 2009 wrote Harry Jede:> On Donnerstag, 8. Oktober 2009 wrote Philipp Boksberger: > > Dear Samba Users, > > > > > > > > I have a Samba 3.2.5 Server running on Debian. I use tdbsam as a > > password database and wonder how I can change the "Workstations" > > value in order to control the allowed workstations for a particular > > user. Last year I had a configuration with ldap using the smbldap > > tools where it was possible to set this value. But how can I set it > > without LDAP just using pdbedit? > > > > In the official Samba 3.2.x HOWTO and Reference Guide in Chapter 11 > > Section "The pdbedit Tool" > > (http://www.samba.org/samba/docs/man/Samba-HOWTO-Collection/passdb. > >ht ml#pdbe ditthing) there is an example where "Workstations" is set > > to "melbelle" - but no explanation of how this could be done. There > > is also no parameter listed in the pdbedit man page. > > try: -m > > :-) pdbedit --help :-)Sorry, forget my wrong answer.> : > > Any hints? > > > > > > > > Philipp > > -- > > Gruss > Harry Jede-- Gruss Harry Jede