Hi folks,
Is there a command line option for smbpasswd to read samba
configuration file other than the one named smb.conf?
# ./smbpasswd -h
params.c:OpenConfFile() - Unable to open configuration file
"/usr/local/admin/samba/lib/smb.conf":
No such file or directory
Can't load /usr/local/admin/samba/lib/smb.conf - run testparm to debug
it
I do have a samba config file named swgrp.conf in
/usr/local/admin/samba/lib. How do I get smbpasswd to read it?
I'm running Samba 2.2.3a on Solaris 7.
Any help will be appreciated!
Thanks,
Desmond
--
JNI Corporation - ASIC Development
45365 Northport Loop West. Fremont, CA 94538
Tel: (510) 360-4751 Fax: (510) 252-0123
Desmond Quek wrote:> > Hi folks, > > Is there a command line option for smbpasswd to read samba > configuration file other than the one named smb.conf? > > # ./smbpasswd -h > params.c:OpenConfFile() - Unable to open configuration file > "/usr/local/admin/samba/lib/smb.conf": > No such file or directory > Can't load /usr/local/admin/samba/lib/smb.conf - run testparm to debug > it > > I do have a samba config file named swgrp.conf in > /usr/local/admin/samba/lib. How do I get smbpasswd to read it? > > I'm running Samba 2.2.3a on Solaris 7. > > Any help will be appreciated! > > Thanks, > DesmondTo get this you will need to get either the 2_2 or HEAD CVS. This has been added but did not exist in 2.2.3a -- =====================================================================Herb Lewis Silicon Graphics Networking Engineer 1600 Amphitheatre Pkwy MS-510 Strategic Software Organization Mountain View, CA 94043-1351 herb@sgi.com Tel: 650-933-2177 http://www.sgi.com Fax: 650-932-2177 ======================================================================