[Samba] FYI: Solaris 9 profiles binary core dumping

2003-12-03 Thread Jeff Gardiner
Hello all, 

Just wanted to report that the samba/bin/profiles binary in Solaris 9 causes 
Segmentation fault.  I can send the core file to anyone who wants for 
inspection.

I've checked all of the other binaries, and the remainder seem to work fine.  
I have been having trouble with roaming profiles incidental, I don't know if 
this is related.

Cheers
Jeff

-- 
Jeff Gardiner [ [EMAIL PROTECTED] ]
System Administrator - Imaging Research Laboratories
Robarts Research Institute - London ON, Canada
519.663.5777 x34089

   ~~~
  Those who do not understand Unix are condemned to reinvent it, poorly.
-- Henry Spencer
~~



-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Samba PDC - Solaris 8 or 9??

2003-11-20 Thread Jeff Gardiner
Hello Todd, I can't see exactly what is going on but I am willing to make some 
observations.

When I encounter problems, I often strip down my smb.conf to the bare minimum 
and base it upon the examples in any of the SAMBA Howtos.  I especially like 
the ones in John Terpstra's book.  Check out:

http://us3.samba.org/samba/docs/man/

Keeping a copy of the current file, I would strip down your smb.conf to a more 
basic level like:

[global]
netbios name = SAMBA1
#socket options = TCP_NODELAY IPTOS_LOWDELAY SO_RCVBUF=8192 SO_SNDBUF=8192
#server string = BOA Samba
local master = yes
preferred master = yes
domain logons = yes
domain master = yes
# workgroup = anc-smb  Note: I don't know if a - is a valid char, but I'd \
  test without just in case
workgroup = TESTSMB
#interfaces = **
logon home = /walrus/%U
logon path =\\%N\profiles\%u
log file = /var/log/samba-log.%m
log level = 2
#max log size = 50
#lock directory = /var/lock/samba
#printcap name = /etc/printcap
security = user
#wins support = yes
#dns proxy = yes
os level = 99
#remote announce = *
#deadtime = 15

#authenctication options
security =  user
encrypt passwords = yes
null passwords = no
#password level = 0
smb passwd file = /usr/local/samba/private/smbpasswd
#unix realname = no

; ***  File System Configurations  ***
[netlogon]
comment = Net Logon
path = /usr/local/samba/lib/netlogon
read only = yes
#write = ntadmin

[profiles]
path = /var/lib/samba/profiles
read only = no
create mask = 0600
directory mask = 0700

I don't think I missed any of the essential pieces.  If you can get it working 
at this stage that start add the features you want testing each addition to 
ensure you don't break anything.  If it doesn't work at this point, look at 
the permissions on smbpasswd file, or /usr/local/samba/lib/netlogon, anything 
that might restrict access to the service.

Ensure you have the bit about profiles.  Also, if you're running WinXP you 
need to do two registry edits to join the machines to the domain:

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Netlogon\Parameters] 
 requiresignorseal=dword: 
 signsecurechannel=dword:

I have found that you don't need to do this for win2k machines, but I have had 
to do it for winxp.  Samba 3.0.1pre3 seems to not require this.

Let me know how it works out.

Cheers
Jeff

PS to contact me remove the nospam from the email below.

-- 
Jeff Gardiner [ [EMAIL PROTECTED] ]
System Administrator - Imaging Research Laboratories
Robarts Research Institute - London ON, Canada
519.663.5777 x34089

   ~~~
  Those who do not understand Unix are condemned to reinvent it, poorly.
-- Henry Spencer
~~

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] What is vuid?

2003-11-20 Thread Jeff Gardiner
I'm getting the following errors in my error logs:

ERROR! vuid 100 did not map to a valid vuser struct!

At the time this error was being created I was trying to add a domain user as 
a local admin.  I was trying to get the browse list of domain users up, but 
being denied.

Cheers
Jeff

-- 
Jeff Gardiner [ [EMAIL PROTECTED] ]
System Administrator - Imaging Research Laboratories
Robarts Research Institute - London ON, Canada
519.663.5777 x34089

   ~~~
  Those who do not understand Unix are condemned to reinvent it, poorly.
-- Henry Spencer
~~

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] kudos to the samba team for samba3

2003-11-20 Thread Jeff Gardiner
I'm glad you posted this Jason - I feel exactly the same.  Not only did they 
do an amazing jobs on Samba 3, but they actively frequent these lists, and 
further contribute by assisting others.

Also, my interest and excitement in the Samba project seems to be proportional 
to the release number.  

Cheers
Jeff

On Thursday 20 November 2003 17:31, Jason Williams wrote:
 Just wanted to say kudos to the samba team for a great job on samba 3.
 Im still reading up on all the nice features with samba 3, but so far, I
 really like it.

 Just wanted to say great job!

 Jason

-- 
Jeff Gardiner [ [EMAIL PROTECTED] ]
System Administrator - Imaging Research Laboratories
Robarts Research Institute - London ON, Canada
519.663.5777 x34089

   ~~~
  Those who do not understand Unix are condemned to reinvent it, poorly.
-- Henry Spencer
~~

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] What is vuid?

2003-11-20 Thread Jeff Gardiner
I set debug level to 10 from 2, and restarted.  The error hasn't yet shown up.

I've attached my original debug level 2 log file.  I will post the level 10 
log file, if requested, but the error isn't showing up.  I made no changes to 
the smb.conf other than changing the debug level.

Hope this helps.
Cheers
Jeff

-- 
Jeff Gardiner [ [EMAIL PROTECTED] ]
System Administrator - Imaging Research Laboratories
Robarts Research Institute - London ON, Canada
519.663.5777 x34089

   ~~~
  Those who do not understand Unix are condemned to reinvent it, poorly.
-- Henry Spencer
~~
[global]

debuglevel = 10
netbios name = THEREMIN
workgroup = IMAGING
passdb backend = smbpasswd
os level = 99
preferred master = yes
domain master = yes
local master = yes
security = user
domain logons = yes
logon path = \\%L\%u\profile
logon drive = H:
logon home = \\%L\%u
logon script = startup.bat
guest account  = nobody
#map to guest = bad user

#time server = yes
#admin users = root 

smb passwd file = /etc/samba/smbpasswd
log file = /var/log/samba/log.%m

#printing = cups
#printcap name = cups

printing = lprng 
printcap name = /etc/samba/var/printcap

load printers = yes
show add printer wizard = yes
printer admin = @ntadmin root
lpq cache time = 20
#use client driver = no

#winbind cache time = 10
#template homedir = /home/%D/%U
#template shell = /bin/bash
#winbind uid = 1-2
#winbind gid = 1-2
#winbind enum users = yes
#winbind enum groups = yes
#winbind use default domain = yes

[netlogon]

path = /var/lib/samba/netlogon
read only = yes
write list = ntadmin

[profiles]

path = %H/profile
read only = no
create mask = 0600
directory mask = 0700

[homes]

comment = Home Directories
read only = No
browseable = No

[print$]

comment = Printer Driver Download Area
path = /etc/samba/drivers
browseable = yes
guest ok = yes
read only = yes
write list = @ntadmin, root, gardiner

[printers]
comment = All Printers
path = /var/spool/samba
public = yes
guest ok = yes
browseable = no
writable = no
printable = yes
create mode = 0700

#[Lexmark_T614]
[irl]
path=/tmp
comment = Main Lab Lexmark Printer
browseable = yes
printable = yes
public = yes
create mode = 0700
lpq command = lpq -Plp-std
lprm command = lprm -Plp-std %j
print command = /irus/bin/lpr -r -h -Plp-std %s

[lp-std]
path=/tmp
comment = Main Lab Lexmark Printer
browseable = yes
printable = yes
public = yes
writable = no
create mode = 0700
lpq command = lpq -Plp-std
lprm command = lprm -Plp-std %j
print command = /irus/bin/lpr -r -h -Plp-std %s

[ink]
#[Lexmark_S1625]
path=/tmp
comment = Lexmark Printer In Cuddy Wing
browseable = yes
printable = yes
public = yes
writable = no
create mode = 0700
lpq command = lpq -Pink-std
lprm command = lprm -Pink-std %j
print command = /irus/bin/lpr -r -h -Pink-std %s

#[Lexmark_C710]
[colour]
path=/tmp
comment = Main Lab Colour Lexmark Printer
browseable = yes
printable = yes
public = yes
writable = no
create mode = 0700
lpq command = lpq -Pcolourlp
lprm command = lprm -Pcolourlp %j
print command = /irus/bin/lpr -r -h -Pcolourlp %s

[Share]
comment = Windows Shared Files
path = /theremin/spare4/share
create mask = 0700
read only = no

[Scratch]
comment = Theremin's scratch disk
path = /theremin/scratch
read only = No
create mask = 0755

[FTP]
comment = Theremin's Anonymous FTP Directory
path = /local/ftp
read only = No
create mask = 0755

[special]
comment = A special printer with his own settings
path = /var/spool/samba-special
printing = sysv
printcap = lpstat
print command = echo NEW: `date`: printfile %f  /tmp/smbprn.log ; \
echo  `date`: p-%p s-%s f-%f  /tmp/smbprn.log ; \
echo  `date`: j-%j J-%J z-%z c-%c  /tmp/smbprn.log : rm %f
public = no
guest ok = no
writeable = no
printable = yes
printer admin = gardiner
hosts deny = 0.0.0.0
hosts allow = loki.irus.robarts.ca, 198.20.40.60, 198.20.40.10, 198.20.40.77, 
vm-loki.irus.robarts.ca 
[2003/11/19 16:24:00, 0] param/loadparm.c:service_ok(2597)
  No path in service irl - using /tmp
[2003/11/19 16:24:00, 0] param/loadparm.c:lp_do_parameter(3165)
  Global parameter printcap found in service section!
[2003/11/19 16:27:16, 0] smbd/connection.c:register_message_flags(220)
  register_message_flags: tdb_fetch failed
[2003/11/19 16:27:18, 0] smbd/connection.c:register_message_flags(220)
  register_message_flags: tdb_fetch failed
[2003/11/19 16:27:28, 0] smbd/connection.c:register_message_flags(220)
  register_message_flags: tdb_fetch failed
[2003/11/19 16:27:32, 0] smbd/service.c:make_connection(857)
  vm-loki (198.20.40.77) couldn't find service ::{2227a280-3aea-1069-a2de-08002b30309d}
[2003/11/19 16:27:45, 0] smbd/connection.c:register_message_flags(220)
  register_message_flags: tdb_fetch failed
[2003/11/19 16:31:49, 0] param/loadparm.c:service_ok(2597)
  No path in service irl - using /tmp
[2003/11/19 16:31:49, 0] param/loadparm.c:lp_do_parameter(3165)
  Global parameter printcap found in service section!
[2003/11/19 16:54:57, 0] lib/util_sock.c:read_socket_data

Re: [Samba] printer.tdb (tdb_oob len errors) and Quirkiness: Solaris 9, Samba 3.0.0

2003-11-19 Thread Jeff Gardiner
$\W32X86\3\LMPCLHOW.HLP]
Dependentfiles: [\\superserver\print$\W32X86\3\LMPCLNA.CNT]
Dependentfiles: [\\superserver\print$\W32X86\3\LMPCL2A$.INI]

Monitorname: []
Defaultdatatype: [RAW]

 rpcclient -Uroot -c enumports SUPERSERVER

# rpcclient -Uroot -c enumports SUPERSERVER
Password:
Port Name:  [Samba Printer Port]



 This checks if Samba exports the kind of stuff Windows clients are
 looking for

I had read over a number of the man pages and other documentation including 
John T. excellent book, but was not familiar with this use of the rpcclient 
command.  I found (and find) them to be extremely useful tools, and will have 
to reread the man pages.  I recognized that familiarity with the command line 
tools that allow you to get to Samba's underbelly really helps in resolving 
problems.  Thanks for posting them. 

 Where it you find the advice to tag your [print$] share as printable??
 This is wrong. It means that Samba tries to export a printer with the
 name of print$, while it should be just a special file share holding
 the driver files for clients to download. (If it is a typo in above
 document, quick-quick!, provide a pointer to the exact place where it
 occurs so it may be corrected)

I've taken your advice, and made the modifications to my smb.conf file and all 
works well now.  Again thanks for your help.  For those who follow in my 
footsteps, and use the sambalist archives to resolve problems I'll repost my 
smb.conf file.  It looks like this:

[global]
netbios name = superserver
workgroup = WINZOMBIES
os level = 99
preferred master = yes
domain master = yes
local master = yes
security = user
domain logons = yes
logon path = \\%L\%U\profile
logon drive = H:
logon home = \\%L\%U
logon script = startup.bat
guest account  = nobody
map to guest = bad user

time server = yes
admin users = root 

smb passwd file = /etc/samba/smbpasswd
log file = /var/log/samba/log.%m

printing = lprng 
printcap name = /etc/cups/printcap

load printers = yes
show add printer wizard = yes
printer admin = @ntadmin root gardiner
lpq cache time = 20
use client driver = no

[netlogon]
path = /var/lib/samba/netlogon
read only = yes
write list = ntadmin

[profiles]
path = %H/profile
read only = no
create mask = 0600
directory mask = 0700

[homes]
comment = Home Directories
read only = No
browseable = No

[print$]
comment = Printer Driver Download Area
path = /etc/samba/drivers
browseable = yes
guest ok = yes
read only = yes
write list = @ntadmin, root, gardiner

[printers]
comment = All Printers
path = /var/spool/samba
public = yes
guest ok = yes
browseable = no
writable = no
printable = yes
create mode = 0700

[irl]
path=/tmp
comment = Main Lab Lexmark Printer
browseable = yes
printable = yes
public = yes
create mode = 0700
lpq command = lpq -Plp-std
lprm command = lprm -Plp-std %j
print command = /irus/bin/lpr -r -h -Plp-std %s

[special_printer]
comment = A special printer with his own settings
path = /var/spool/samba-special
printing = sysv
printcap = lpstat
print command = echo NEW: `date`: printfile %f  /tmp/smbprn.log ; \
echo  `date`: p-%p s-%s f-%f  /tmp/smbprn.log ; \
echo  `date`: j-%j J-%J z-%z c-%c  /tmp/smbprn.log : rm %f
public = no
guest ok = no
writeable = no
printable = yes
printer admin = gardiner
hosts deny = 0.0.0.0
hosts allow = 10.1.1.1

There is one more issue I need to solve to get samba 3.0.1pre3 working 
perfectly on Solaris9 but I'll post that question in an other email.

Cheers

-- 
Jeff Gardiner [ [EMAIL PROTECTED] ]
System Administrator - Imaging Research Laboratories
Robarts Research Institute - London ON, Canada
519.663.5777 x34089

   ~~~
  Those who do not understand Unix are condemned to reinvent it, poorly.
-- Henry Spencer
~~

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] PDC recognizing Domain machines: No problem, only Question

2003-11-19 Thread Jeff Gardiner
I understand that when we join a machine to the domain we get entries in both 
/etc/passwd and /etc/samba/smbpasswd (config specific).  I would like to ask 
if there is a point at which a PDC doesn't not recognize a machine as 
belonging to the domain.

BACKGROUND
In my smb.conf I have the line:
log file = /var/log/samba/log.%m

So that in /var/log I get machine specific log files.  All is well. However I 
also get additional files.  If I ls /var/log I get something like:

#ls /var/log
log.0.0.0.0
log.10.1.1.1
log.10.1.1.2
log.10.1.1.175
log.10.1.1.53
log.10.1.2.43
log.10.1.2.201
log.compute
log.admin1
log.admin4
log.security3
log.fileserver1

Where the named logged files are machines, and the IP'd logged files are also 
machines.  

Is there a point at which the PDC does not know the name of a domain member 
and so write its log as an IP?  Also who is writing log.0.0.0.0?

I'm thinking that the PDC requires the SID of the machine in order to 
recognize it?

Just looking for some type of explanation for this strange behaviour I see in 
my log dir.

Cheers
Jeff

-- 
Jeff Gardiner [ [EMAIL PROTECTED] ]
System Administrator - Imaging Research Laboratories
Robarts Research Institute - London ON, Canada
519.663.5777 x34089

   ~~~
   Second Law of Blissful Ignorance --
-- Inside every small problem is a large problem struggling to get out.
~~

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] printer.tdb (tdb_oob len errors) and Quirkiness: Solaris 9, Samba 3.0.0

2003-11-18 Thread Jeff Gardiner
I set up printing IAW:
http://us4.samba.org/samba/docs/man/printing.html

I've confirmed the drivers are being installed to /etc/samba/drivers/W32X86.  
Yet I am unable to print even a test page.  I get the following error:

Test page failed to print.  Would you like to view the print trouble shooter 
for assistance?  Access is denied.

And I get the following errors in my samba log file:

tdb(/usr/local/samba/var/locks/printing/irl.tdb): tdb_oob len 1600941951 
beyond eof at 67552
[2003/11/18 11:05:20, 0] tdb/tdbutil.c:tdb_log(724)
  tdb(/usr/local/samba/var/locks/printing/irl.tdb): tdb_oob len 858730825 
beyond eof at 67552
[2003/11/18 11:05:20, 0] tdb/tdbutil.c:tdb_log(724)
  tdb(/usr/local/samba/var/locks/printing/irl.tdb): tdb_oob len 1600941951 
beyond eof at 67552

The following is my smb.conf file:

[global]

netbios name = SUPERSERVER
workgroup = WINZOMBIES
os level = 99
preferred master = yes
domain master = yes
local master = yes
security = user
domain logons = yes
logon path = \\%N\%u\profile
logon drive = H:
logon home = \\%L\%U
logon script = startup.bat
guest account  = nobody
map to guest = bad user

time server = yes
admin users = root @sysgrp

smb passwd file = /etc/samba/smbpasswd
log file = /var/log/samba/log.%m

printing = lprng
load printers = yes
show add printer wizard = yes
printcap name = /etc/samba/lib/printcap
printer admin = @ntadmin root
lpq cache time = 20
use client driver = no

[netlogon]
path = /var/lib/samba/netlogon
read only = yes
write list = ntadmin

[profiles]
path = %H/profile
read only = no
create mask = 0600
directory mask = 0700

[homes]
comment = Home Directories
read only = No
browseable = No

[print$]
comment = Printer Driver Download Area
path = /etc/samba/drivers
browseable = yes
guest ok = yes
read only = yes
printable = yes

[printers]
comment = All Printers
browseable = no
printable = yes
public = yes
writable = no
guest ok = yes
create mode = 0700
path = /var/spool/samba

[irl]
path=/tmp
comment = Main Lab Lexmark Printer
browseable = yes
printable = yes
public = yes
create mode = 0700
lpq command = lpq -Plp-std
lprm command = lprm -Plp-std %j
print command = /irus/bin/lpr -r -h -Plp-std %s





-- 
Jeff Gardiner [ [EMAIL PROTECTED] ]
System Administrator - Imaging Research Laboratories
Robarts Research Institute - London ON, Canada
519.663.5777 x34089

   ~~~
  Those who do not understand Unix are condemned to reinvent it, poorly.
-- Henry Spencer
~~

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Profile Funniness on a Solaris 9 PDC

2003-11-17 Thread Jeff Gardiner
Thanks Mike, that did seem to solve that problem.  Onwards I go with other 
issues :).

Thanks for the reply.  I very much appreciate it.

Cheers
Jeff

On Saturday 15 November 2003 13:26, you wrote:
 I had the same problem and I wound up being the time was different on
 the samba server to Windows server.  Once I synced the time, it has
 worked ever since!!




-- 
Jeff Gardiner [ [EMAIL PROTECTED] ]
System Administrator - Imaging Research Laboratories
Robarts Research Institute - London ON, Canada
519.663.5777 x34089

   ~~~
  Those who do not understand Unix are condemned to reinvent it, poorly.
-- Henry Spencer
~~

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] UNIX paths vs UNC names in [profile]

2003-11-17 Thread Jeff Gardiner
On Monday 17 November 2003 13:56, you wrote:

 You could try:
 path = %H/profile

Thanks again John.  Your posts are always helpful.  That did the trick.


 The problem is that the profile handling may do some anonymous file access
 to the Windows users' profile. This may fail if you store the profile in
 the home directory and 'others' do not have access rights to this location
 on disk.

I see your point.  Is there a way to avoid this situation or at least minimize 
it other than by storing profiles somewhere else?

Cheers
Jeff

-- 
Jeff Gardiner [ [EMAIL PROTECTED] ]
System Administrator - Imaging Research Laboratories
Robarts Research Institute - London ON, Canada
519.663.5777 x34089

   ~~~
  Those who do not understand Unix are condemned to reinvent it, poorly.
-- Henry Spencer
~~

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] Test page failed to print. Would you to like ......? Access is denied.

2003-11-14 Thread Jeff Gardiner
Hello all, I've gotten the printing subsytem almost working - I think.  I am 
able to install my print drivers to the server IAW the instructions found 
here: http://us4.samba.org/samba/docs/man/printing.html

The drivers are being installed to /etc/samba/drivers/W32X86 IAW 
/etc/samba/smb.conf by following the instructions above

This line specifically seems to do it:

[print$]
path = /etc/samba/drivers

This shows up in my windows client as \\server\print$\W32X86\3

The printers show up in \\server\Printers.  However, although I can right 
click the printer the printer and get the properties box to pop up, I cannot 
get the Test Page to print.  I get the error:

Test page failed to print.  Would you like to view the print trouble shooter 
for assistance?  Access is denied.

Also, these strange errors show up in /var/log/samba/


 tdb(/usr/local/samba/var/locks/printing/irl.tdb): tdb_oob len 976566084 
beyond eof at 67552
[2003/11/14 14:05:21, 0] tdb/tdbutil.c:tdb_log(724)
  tdb(/usr/local/samba/var/locks/printing/irl.tdb): tdb_oob len 1530015816 
beyond eof at 67552
[2003/11/14 14:05:21, 0] tdb/tdbutil.c:tdb_log(724)
  tdb(/usr/local/samba/var/locks/printing/irl.tdb): tdb_oob len 805985098 
beyond eof at 67552
[2003/11/14 14:05:21, 0] tdb/tdbutil.c:tdb_log(724)
  tdb(/usr/local/samba/var/locks/printing/irl.tdb): tdb_oob len 858730825 
beyond eof at 67552
 
 ad infinitum

The spooling dir has permissions:
drwxrwxrwx2 root bin   512 Nov 12 16:14 .
drwxr-xr-x   17 root bin   512 Aug 28 11:39 ..

Can anyone point me in the right direction to solving this.  It feels like a 
permissions issue somehow.  I've included an edited smb.conf file.

Let me know if more information would be helpful:

[global]
debuglevel = 1
comment = Samba %v on Server
netbios name = SERVER
workgroup = MYDOMAIN
preferred master = yes 
domain master = yes  
local master  = yes 
security =  user
domain logons = yes 
logon path = \\%L\%U\profile
logon home = \\%L\%U
logon script = startup.bat
logon drive = t:
server string = Version %v of Samba on host %h where %L is NetBIOS name
socket options = TCP_NODELAY IPTOS_LOWDELAY SO_RCVBUF=8192 SO_SNDBUF=8192
remote browse sync = xxx.xxx.xxx.xxx
remote announce = xxx.xxx.xxx.xxx
log file = /var/log/samba/log.%m
browseable=yes
browse list = yes   
name resolve order = wins lmhosts bcast host 
interfaces = xxx.xxx.xxx.xxx/23
add user script = /usr/sbin/useradd -g windows -d /dev/null -s /bin/false -c 
Windows Machine %m\$
unix password sync = yes
passwd program = /usr/bin/passwd %u
passwd chat = *New*UNIX*password* %n\n *ReType*new*UNIX*password* %n\n 
*passwd:*all*authentication*tokens*updated*successfully*
null passwords = yes
max log size = 50
max print jobs = 1000
printcap name = /etc/samba/lib/printcap
os level = 99
admin users = root
wins support = yes 
hosts allow = xxx.xxx. 127.
printing = lprng
load printers = yes
printer admin = @ntadmin, root  
use client driver = no  
smb passwd file = /etc/samba/smbpasswd
encrypt passwords = yes
guest account = ftp
username map = /etc/samba/smb.unix2win

   [print$]
comment = Printer Driver Download Area
path = /etc/samba/drivers
browseable = yes
guest ok = yes
read only = yes
write list = @ntadmin, root

  [printers]
comment = All Printers
browseable = yes
printable = yes
public = yes
writable = no
guest ok = yes
print command = lpr -r -P'%p' %s
lpq command = lpq -P'%p'
lprm command = lprm -P'%p' %j
path = /var/spool/samba

 [irl]
path=/tmp 
comment = Main Lab Lexmark Printer
browseable = yes
printable = yes
public = yes
writable = no
create mode = 0700
lpq command = lpq -Plp-std
lprm command = lprm -Plp-std %j
print command = /irus/bin/lpr -r -h -Plp-std %s

[homes]
comment = Home Directories
read only = No
browseable = No

[netlogon]
comment = Samba Network Logon Service
path = /etc/samba/netlogon
browsable = no
read only = yes

[profile]
comment = User Profiles
create mode = 0600
directory mode = 0700
path = \\%L\%U\profile  
csc policy = disable
profile acls = yes
read only = no  
valid users = %U, administrator

my file /etc/samba/lib/printcap looks like this:
irl|Main IRL Lexmark
quill|Duplexing IRL Printer

Any help would be appreciated.

Cheers
Jeff


-- 
Jeff Gardiner [ [EMAIL PROTECTED] ]
System Administrator - Imaging

[Samba] Solaris, Samba-3.0.1pre1 Compile error

2003-11-04 Thread Jeff Gardiner
Hello all, I currently run Samba 3.0 on a Solaris 9 machine in a production 
environment.  I'm happy with it.

I tried compiling samba-3.0.1pre1 using ./configure --with-ldap=no.

However when it gets to linking bin/tdbbackup it fails.  This is the error it 
gives:

Using FLAGS =  -O -I./popt -Iinclude 
-I/scratch/build/samba-3.0.1pre1/source/include 
-I/scratch/build/samba-3.0.1pre1/source/ubiqx 
-I/scratch/build/samba-3.0.1pre1/source/smbwrapper  -I. -D_LARGEFILE_SOURCE 
-D_FILE_OFFSET_BITS=64 -I/scratch/build/samba-3.0.1pre1/source
  LIBS = -lsendfile -lsec -lgen -lresolv -lsocket -lnsl -ldl
  LDSHFLAGS = -G  -R/usr/lib
  LDFLAGS = -R/usr/lib
Linking bin/tdbbackup
Undefined   first referenced
 symbol in file
smb_snprintftdb/tdbback.o
ld: fatal: Symbol referencing errors. No output written to bin/tdbbackup
collect2: ld returned 1 exit status
make: *** [bin/tdbbackup] Error 1


I've made clean a number of times to ensure it wasn't a dirty build.  Can 
anyone provide any clue.  I can post smb.conf info if need be, but I don't 
think that influences the build.

Cheers
Jeff



-- 
Jeff Gardiner [ [EMAIL PROTECTED] ]
Robarts Research Institute - London ON, Canada
519.663.5777 x34089

   ~~~
  Those who do not understand Unix are condemned to reinvent it, poorly.
-- Henry Spencer
~~

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba