Re: [Samba] 2nd try, cant print over samba

2005-07-03 Thread Martin Zielinski
I remember that there was a bug in the printing part when using XP SP2 
clients. This has been fixed in 2.2.11.

First, you could use a more recent release of samba (wether 2.2.x or 3.0.x).
In all samba-printing-problem-cases I've seen, *nothing* came out of the 
printer. So you could increase the loglevel of your cups-daemon and see, 
if there are any errors logged. Perhaps you have a problem with your 
cupsd (enable raw printing in /etc/mime.confs or something like that...)


bye,
Martin

Jason wrote:

do I not have enough info for someont to take a crack at this?

hey folks. got cups set up and working on a freebsd 4.11 
box running samba 2.2.10. I can print 
locally from the freebsd box just  fine.. when I try to print from remote 
windows boxes on the network, I only get blank pages (may be empty banner 
or form feeds). but I jacked up the logging and the only "error" i see in there 
is



[2005/07/01 10:37:55, 5] rpc_parse/parse_prs.c:prs_uint32(588)
  86c4 buffer_size2: 86a9
[2005/07/01 10:37:55, 4] 
rpc_server/srv_lsa_hnd.c:find_policy_by_hnd_internal(168)
  Policy not found: [000] 00 00 00 00 10 02 00 00  00 00 00 00 B8 4C C5 42  
 .L.B

[2005/07/01 10:37:55, 4] lib/util.c:dump_data(1549)
  [010] D2 06 01 00    
[2005/07/01 10:37:55, 2] 
rpc_server/srv_spoolss_nt.c:find_printer_index_by_hnd(263)
  find_printer_index_by_hnd: Printer handle not found: _spoolss_writeprinter: 
Invalid handle (OTHER:6728

2:67612)


I have the following in my smb.conf

[global]
printing = cups
printcap name = cups
hosts allow = 192.168.1. 127.

and 


[designjet]
comment = DesignJet 450C
path = /var/spool/samba
writeable = Yes
guest ok = Yes
printable = Yes
printer = designjet


any ideas what else to look at?




--
Martin Zielinski [EMAIL PROTECTED]
Software Development
SEH Computertechnik GmbH www.seh.de
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] Re: Printjobnames

2005-07-03 Thread Franz Pförtsch
Gerald (Jerry) Carter wrote:

> 
> It's by design currently.  The internal printing API
> needs to be updated to allow more information to be
> passed back from the underlying printing system
> such as job id (or something similar).
> 
And now who has to solve that jobs?

The people from cups or from samba.
I know with samba 2.2 the printjobnames was without the leading
smbprn.0004

regards
Franz

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


[Samba] samba loses its browse list

2005-07-03 Thread Csere Matyas

hello

i've asked this question a while ago, but noone could help me with it.. 
ill try to give more detail in this message:


so, there is a samba file server on our lan, and the clients are all 
windows XP's.
when i start the samba server, it becomes the local/domain master, and 
starts to build up its browse list (i can see that from the browse.dat 
file, and when i browse the network i can see computers in it)
but after some while, cant quite define the time, it loses the list 
(browsing then network doesnt show up computers, and the browse.dat file 
becomes EMPTY)


anyone has a clue, what could be causing this?
or, do you need any other information?

thanks in advance,
cserem

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


[Samba] Annoying lpq commands appear after testparm

2005-07-03 Thread Geoff Scott
I am using a master-smb.conf with one other include for the shares file.
Every time that I do a testparm -s master-smb.conf and then check the
resulting file I see these config directives, which I haven't defined:

printing = cups
print command =
lpq command = %p
lprm command =

But this is after I have defined "printing = cups", any ideas why?  Or is
this standard behaviour?

Contents of the master-smb.conf for this BDC follow:

[global]
netbios aliases = GUESTS2
workgroup = GUESTSHIRE
passdb backend = ldapsam:ldap://127.0.0.1
username map = /etc/samba/smbusers
log level = 1
syslog = 0
log file = /var/log/samba/log.%m
max log size = 50
smb ports = 139 445
name resolve order = wins bcast hosts
show add printer wizard = No
logon script = logon.bat
logon path = \\fpmelb\profiles\%U
logon drive = Z:
logon home = \\fpmelb\%U
domain logons = Yes
domain master = No
wins server = 192.168.31.5
ldap admin dn =
cn=Manager,ou=Users,ou=OxObjects,dc=guestsfurniturehire,dc=com,dc=au
ldap group suffix = ou=Groups
ldap idmap suffix = ou=Idmap
ldap machine suffix = ou=Users
ldap suffix = ou=OxObjects,dc=guestsfurniturehire,dc=com,dc=au
ldap user suffix = ou=Users
idmap backend = ldap://fpmelb.guestsfurniturehire.com.au
idmap uid = 1-2
idmap gid = 1-2
printer admin = root
ea support = Yes
map acl inherit = Yes
printing = cups
printcap name = CUPS



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


Re: [Samba] Samba interface for administrative tools

2005-07-03 Thread Beast

Gerald (Jerry) Carter wrote:


This is a good ways out right now.  But if there is sufficient
interest in this kind of thing, I'm willing to work on it.


I can't speak for others, but IMO once provided, people will start 
developing tools to administering samba using this 'standard' API.



--

--beast

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


Re: [Samba] Samba interface for administrative tools

2005-07-03 Thread Beast

Rhys Goodwin wrote:
Hey Guys, 
 It seems to me that the very best place to store all samba conf options is 
in the ldap dir. I got all excited when I was taking a look at the samab3 
schema and saw the sambaConfigOption objectclass, found out that is not 
implimented yet. Maybe Im being a bit narrow minded to assume that everyone 


Currently not all information are stored in ldap (using ldapsam), afaik 
smb.conf is server dependants, hence not appropriate if stored in ldap.


is using an ldap back end? I like the idea of being able to whip up a very 
tidy windows based (MMC?) samba console and requiring only ldap connection 
to the server and be able to FULLY control samba. Perhaps smbd could be 
setup to be quite particular about when and how it would reaload options 
from the directory? 


Not all users are using ldapsam, so this tool will not work for smba 
backend other than ldapsam.



--

--beast

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


Re: [Samba] Samba interface for administrative tools

2005-07-03 Thread Ilia Chipitsine

Hey Guys,
It seems to me that the very best place to store all samba conf options is
in the ldap dir. I got all excited when I was taking a look at the samab3
schema and saw the sambaConfigOption objectclass, found out that is not
implimented yet. Maybe Im being a bit narrow minded to assume that everyone
is using an ldap back end? I like the idea of being able to whip up a very
tidy windows based (MMC?) samba console and requiring only ldap connection
to the server and be able to FULLY control samba. Perhaps smbd could be
setup to be quite particular about when and how it would reaload options
from the directory?
Hope Im not on a different wave length to the rest of you! :)
Cheers,
Rhys


I'm afraid that OpenLDAP (and LDAP in general) is not so popular for 
samba...


Also, You can develop MMC snap for managing LDAP samba users and groups 
:-) Samba already can store users/groups in LDAP, while general 
configuration is just proposed as scheme...



 On 7/3/05, Gerald (Jerry) Carter <[EMAIL PROTECTED]> wrote:


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Ilia Chipitsine wrote:



Something like

[HKLM\Software\Samba.org\Configuration]
[HKLM\Software\Samba.org\Configuration\global]
[HKLM\Software\Samba.org\Configuration\homes]
[HKLM\Software\Samba.org\Configuration\share1]
...


so, if this will be implemented, I can connect with
registry editing tools and remotely manage configuration ?


Yup that was my idea. Each subtree of Samba's registry can
define it's own security descriptor access check. So assuming
that the user meets the appropriate securirt checks, setting a
valuename/data pair would set the 'parameter = value' option
for that section (which matches the registru value's parent
key).

This is a good ways out right now. But if there is sufficient
interest in this kind of thing, I'm willing to work on it.


cheers, jerry
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.0 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFCxz6AIR7qMdg1EfYRAoaZAJ93RDbVIvK1Dq+nEiPDF393fpzoyACcCkI+
AhksNeL6nIfYxplF96BTcm4=
=Oh/o
-END PGP SIGNATURE-
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/listinfo/samba


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


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


Re: [Samba] Samba interface for administrative tools

2005-07-03 Thread Ilia Chipitsine

Something like

[HKLM\Software\Samba.org\Configuration]
[HKLM\Software\Samba.org\Configuration\global]
[HKLM\Software\Samba.org\Configuration\homes]
[HKLM\Software\Samba.org\Configuration\share1]
...


so, if this will be implemented, I can connect with
registry editing tools and remotely manage configuration ?


Yup that was my idea.  Each subtree of Samba's registry can
define it's own security descriptor access check.  So assuming
that the user meets the appropriate securirt checks, setting a
valuename/data pair would set the 'parameter = value' option
for that section (which matches the registru value's parent
key).

This is a good ways out right now.  But if there is sufficient
interest in this kind of thing, I'm willing to work on it.


nice idea.

I heard that libmsrpc is under heavy development now, am I right that
such library also allows creating an opposite tool, such as unix command 
line utility for remote registry management ? if so, I'll take a closer 
look at it, I need such utility! :-)





cheers, jerry
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.0 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFCxz6AIR7qMdg1EfYRAoaZAJ93RDbVIvK1Dq+nEiPDF393fpzoyACcCkI+
AhksNeL6nIfYxplF96BTcm4=
=Oh/o
-END PGP SIGNATURE-


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


Re: [Samba] Re: limiting netlogon scripts to a subnet?

2005-07-03 Thread Michael Lueck
On Sun, 3 Jul 2005 11:54:30 -0700 (PDT), John H. wrote:

>ipconfig >"%userprofile%\ipconfig.txt"
>   echo Checking for your location
>
>findstr "192.168.1"

You "should" be able to further simplify that to...

ipconfig|findstr...

but I will still suggest full pathing all calls to binaries!!! Here is an
example of what I mean...

%SystemRoot%\System32\NET.EXE USE /PERSIST:NO


Michael Lueck
Lueck Data Systems
http://www.lueckdatasystems.com/

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


[Samba] Can't Start SMB Services and Question

2005-07-03 Thread E Hines
# Samba config file created using SWAT
# from 127.0.0.1 (127.0.0.1)
# Date: 2005/05/29 15:30:50

# Global parameters
[global]
workgroup = DOM_TEST
interfaces = eth1, lo
bind interfaces only = Yes
passdb backend = tdbsam
pam password change = Yes
passwd program = /usr/bin/passwd %u
passwd chat = *New*Password* %n\n *Re-enter*new*password* %n\n 
*Password*changed*
username map = /etc/samba/smbusers
unix password sync = Yes
log level = 1
syslog = 0
log file = /var/log/samba/%m
max log size = 50
smb ports = 139 445
name resolve order = wins bcast hosts
time server = Yes
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
printcap name = CUPS
show add printer wizard = No
add user script = /usr/sbin/useradd -m '%u'
delete user script = /usr/sbin/userdel -r '%u'
add group script = /usr/sbin/groupadd '%g'
delete group script = /usr/sbin/groupdel '%g'
add user to group script = /usr/sbin/usermod -G '%g' '%u'
add machine script = /usr/sbin/useradd -s /bin/false -d /tmp '%u'
shutdown script = /var/lib/samba/scripts/shutdown.sh
abort shutdown script = /sbin/shutdown -c
logon script = scripts\login.bat
logon path = \\%L\profiles\%U
logon drive = X:
domain logons = Yes
preferred master = Yes
wins support = Yes
ldap ssl = no
utmp = Yes
idmap uid = 1-2
idmap gid = 1-2
map acl inherit = Yes
veto files = /*.eml/*.nws/*.{*}/
veto oplock files = /*.doc/*.xls/*.mdb/

[printers]
comment = SMB Print Spool
path = /var/spool/samba
guest ok = Yes
printable = Yes
use client driver = Yes
default devmode = Yes
browseable = No

[IPC$]
path = /tmp
hosts allow = 192.168.1.0/24, 127.0.0.1
hosts deny = 0.0.0.0/0

[homes]
comment = Home Directories
valid users = %S
read only = No
map acl inherit = No
veto files = 
veto oplock files = 
browseable = No

[netlogon]
comment = Network Logon Service
path = /var/lib/samba/netlogon
guest ok = Yes
locking = No

[profiles]
comment = Profile Share
path = /var/lib/samba/profiles
read only = No
profile acls = Yes

[accounts]
comment = Quicken Files
path = /data/accounts
read only = No

[backups]
comment = Miscellaneous Backups
path = /data/backups
read only = No

[apps]
comment = Application Files
path = /apps
admin users = mfwic
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba

Re: [Samba] ntlm_auth doesn`t work with machine accounts

2005-07-03 Thread Andrew Bartlett
On Thu, 2005-06-30 at 21:11 +0200, Jérémy Cluzel wrote:
> Hi,
> 
> I saw your post on the samba ML...
> I've the same problem... do you find a solution ?
> Someone told me to rewrite the auth_ntlm... but I think I'm not able to 
> do this..

This isn't to do with ntlm_auth, but either the winbind backend or the
remote server.  I need to see traces, from a modified windows server,
set to sign (rather than seal) schannel requests to the DC.  This should
give me the information to allow this to work.

I never expected machine accounts to be able to use NTLM authentication,
as it goes against historical practice.

Andrew Bartlett

-- 
Andrew Bartletthttp://samba.org/~abartlet/
Samba Developer, SuSE Labs, Novell Inc.http://suse.de
Authentication Developer, Samba Team   http://samba.org
Student Network Administrator, Hawker College  http://hawkerc.net


signature.asc
Description: This is a digitally signed message part
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba

Re: [Samba] Re: limiting netlogon scripts to a subnet?

2005-07-03 Thread John H.
woops, i was thinking it'd be done on the server,
nevermind.

so the following should work?

rem Grab IP address and dump to a file
ipconfig >"%userprofile%\ipconfig.txt"
echo Checking for your location

findstr "192.168.1" "%userprofile%\ipconfig.txt"
if errorlevel 1 goto notLoading
echo Loading Databases 
rd /S /Q C:\Access\Databases
xcopy /C /Y /K /F /Z /Q /E /H Q:\Access\FrontEnds
C:\Access\Databases\
goto end

:notLoading
echo Not loading Databases
goto :end

:end





--- Michael Lueck <[EMAIL PROTECTED]> wrote:

> On Sun, 3 Jul 2005 11:45:57 -0700 (PDT), John H.
> wrote:
> 
> >the thing is, what if people log on at the same
> time,
> >and everyone is using temp?
> 
> Hua? temp should be pointed local. And usually temp
> is even some place under
> their user profile for the user version of temp
> whereas system temp points to
> some place else.
> 
> So, how could multiple sign on to the same
> workstation at the same time? (If
> this is not a term services environment that is, and
> if it were refer back to
> user vs system temp and see how that is in your
> enviornment)
> 
> Sorry, don't quite follow the root of your concern
> with using temp...
> 
> Michael Lueck
> Lueck Data Systems
> http://www.lueckdatasystems.com/
> 
> 


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Re: limiting netlogon scripts to a subnet?

2005-07-03 Thread Michael Lueck
On Sun, 3 Jul 2005 11:45:57 -0700 (PDT), John H. wrote:

>the thing is, what if people log on at the same time,
>and everyone is using temp?

Hua? temp should be pointed local. And usually temp is even some place under
their user profile for the user version of temp whereas system temp points to
some place else.

So, how could multiple sign on to the same workstation at the same time? (If
this is not a term services environment that is, and if it were refer back to
user vs system temp and see how that is in your enviornment)

Sorry, don't quite follow the root of your concern with using temp...

Michael Lueck
Lueck Data Systems
http://www.lueckdatasystems.com/

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


Re: [Samba] Re: limiting netlogon scripts to a subnet?

2005-07-03 Thread John H.
the thing is, what if people log on at the same time,
and everyone is using temp?  might it get the wrong
IP?

--- Michael Lueck <[EMAIL PROTECTED]> wrote:

> On Sun, 3 Jul 2005 11:27:19 -0700 (PDT), John H.
> wrote:
> 
> AMEN to no roaming profiles! I disable them blasted
> things in my environment.
> Electronic Software Distribution makes sure each
> physical computer has the
> software and configurations on it which it is
> required to have. Local profiles
> and users storing files in home dirs are mobile
> enough.
> 
> >ipconfig >"%userprofile%\ipconfig.txt"
> 
> but I will still probably stick this in
> %temp% though. ;-) Clean up
> after yourself too.
> 
> Then full path where findstr, xcopy, etc... are else
> it asks the server for
> each of them.
> 
> I take a clean box (without things installed which
> MAY have updated the env
> vars) and run a simple logon script which runs "SET
> > C:\vars.txt" and thus I
> end up with a list of the vars available on systems.
> There is usually one
> pointed at ...\System32 which will help you get
> things like XCopy directly, yet
> support Windows being on different drive letters.
> 
> Pretty good duct tape in my opinion!
> 
> Michael Lueck
> Lueck Data Systems
> http://www.lueckdatasystems.com/
> 
> 




__ 
Yahoo! Mail Mobile 
Take Yahoo! Mail with you! Check email on your mobile phone. 
http://mobile.yahoo.com/learn/mail 
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Re: limiting netlogon scripts to a subnet?

2005-07-03 Thread Michael Lueck
On Sun, 3 Jul 2005 11:27:19 -0700 (PDT), John H. wrote:

AMEN to no roaming profiles! I disable them blasted things in my environment.
Electronic Software Distribution makes sure each physical computer has the
software and configurations on it which it is required to have. Local profiles
and users storing files in home dirs are mobile enough.

>ipconfig >"%userprofile%\ipconfig.txt"

but I will still probably stick this in %temp% though. ;-) Clean up
after yourself too.

Then full path where findstr, xcopy, etc... are else it asks the server for
each of them.

I take a clean box (without things installed which MAY have updated the env
vars) and run a simple logon script which runs "SET > C:\vars.txt" and thus I
end up with a list of the vars available on systems. There is usually one
pointed at ...\System32 which will help you get things like XCopy directly, yet
support Windows being on different drive letters.

Pretty good duct tape in my opinion!

Michael Lueck
Lueck Data Systems
http://www.lueckdatasystems.com/

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


Re: [Samba] Re: limiting netlogon scripts to a subnet?

2005-07-03 Thread John H.
yeah, i don't know why i couldn't see it.

should this work, in a .cmd file?

Would this work?  The problem is, I do not have
roaming profiles in use(As it is not practical for us,
as users tend to use the same computers).  I want only
users with IP from 192.168.1.x to load the databases.

The loaddatabases.cmd file in question would contain

rem Grab IP address and dump to a file
ipconfig >"%userprofile%\ipconfig.txt"
echo Checking for your location

findstr "192.168.1" "%userprofile%\ipconfig.txt"
if errorlevel 1 goto notLoading
echo Loading Databases 
rd /S /Q C:\Access\Databases
xcopy /C /Y /K /F /Z /Q /E /H Q:\Access\FrontEnds
C:\Access\Databases\
goto end

:notLoading
echo Not loading Databases
goto :end

:end


--- Michael Lueck <[EMAIL PROTECTED]> wrote:

> John H. wrote:
> 
> > your response was blank.
> 
> Well I could see it via nntp at gmane.org, but it
> does not specifically address your need.
> 
> I would suggest something like screen scraping
> ipconfig to find the IP address, and if not correct
> to run the script them goto the end of the script.
> Full path all executables you execute, and use 
> ones on the client workstation. If you do not full
> path then Windows searches the server first for the
> file to execute, then the local path, so this skips
> that useless searching step.
> 
> -- 
> Michael Lueck
> Lueck Data Systems
> http://www.lueckdatasystems.com/
> 
> Remove the upper case letters NOSPAM to contact me
> directly.
> 
> -- 
> To unsubscribe from this list go to the following
> URL and read the
> instructions: 
> https://lists.samba.org/mailman/listinfo/samba
> 




__ 
Do you Yahoo!? 
Yahoo! Mail - Find what you need with new enhanced search. 
http://info.mail.yahoo.com/mail_250
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] Re: limiting netlogon scripts to a subnet?

2005-07-03 Thread Michael Lueck

John H. wrote:


your response was blank.


Well I could see it via nntp at gmane.org, but it does not specifically address 
your need.

I would suggest something like screen scraping ipconfig to find the IP address, and if not correct to run the script them goto the end of the script. Full path all executables you execute, and use 
ones on the client workstation. If you do not full path then Windows searches the server first for the file to execute, then the local path, so this skips that useless searching step.


--
Michael Lueck
Lueck Data Systems
http://www.lueckdatasystems.com/

Remove the upper case letters NOSPAM to contact me directly.

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


[Samba] Unable to write to Samba Share from WinXP

2005-07-03 Thread Gerard Seibert
Samba 3.014a

I have three computers networked together. Two are WinXP Pro and one is a 
FreeBSD 5.4 running Samba.

I cam use 'smbclient' to exchange files between the computers. However, when I 
attempt to use the WinXP machines to send a file to the Samba machine I receive 
an error message. This is the usual message:

***
Access Denied

Make sure the disk is not full or write protected and that the file is not 
currently in use.
***
 This is the smb.conf file.

# Samba config file created using SWAT
# from 127.0.0.1 (127.0.0.1)
# Date: 2005/07/02 19:36:46

# Global parameters
[global]
server string = Samba
lanman auth = No
log file = /var/log/samba/log.%m
max log size = 50
preferred master = No
local master = No
domain master = No
dns proxy = No
wins server = 192.168.0.3


[homes]
comment = %u's Home Directory
path = /usr/home/%u
admin users = gerard, ges
encrypt passwords = Yes
guest ok = No
map archive = Yes
map hidden = Yes

[htdocs]
comment = BeerStud 'htdocs' dir
path = /usr/local/www/data/beerstud/htdocs
guest ok = No
map archive = Yes
map hidden = Yes

[ges]
comment = GES Directory
path = /usr/home/ges
read only = No
guest ok = No
map archive = Yes
map hidden = Yes

[canon]
comment = Canon S630 on Gerard
path = //gerard/CanonS63
printable = Yes
printing = lprng
print command = lpr -r -P'%p' %s
lpq command = lpq -P'%p'
lprm command = lprm -P'%p' %j
lppause command = lpc hold '%p' %j
lpresume command = lpc release '%p' %j
queuepause command = lpc stop '%p'
queueresume command = lpc start '%p'
printer name = canon

I cannot understand what the problem is. I would appreciate any
assistance someone could afford me.

-- 
Ciao

Gerard E. Seibert
[EMAIL PROTECTED]

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


Re: [Samba] change machine password

2005-07-03 Thread Tomasz Chmielewski

Tilo Lutz schrieb:

Hi

I use some programs to clone a windows workstation and
duplicate it's image on other workstations.
After cloning I change the workstation name and add a
machine account on the samba pdc.
Now I want to create a new password for the workstation
account and store it.

I use Suse Linux 9.3 as samba pdc. samba version is 3.0.13.
How can I set the password for a workstation?


It is set automatically when you join the domain.
Just leave the domain and join it again, your problem will be solved.

Yet another method is not using "cloning", but a real Unattended 
installation - similar to cloning, but doesn't have the drawbacks of 
cloning (which are: problems with machine names/passwords, cloning will 
work only on the same/very similar hardware, hard to change etc.).


You may check it on http://unattended.sf.net


Tomek
WPKG - automated software deployment with Samba
http://wpkg.org
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] change machine password

2005-07-03 Thread Martin Petersen

Tilo Lutz schrieb:

Tilo Lutz schrieb:


I use some programs to clone a windows workstation and
duplicate it's image on other workstations.
After cloning I change the workstation name and add a
machine account on the samba pdc.
Now I want to create a new password for the workstation
account and store it.




Notebook:/etc/samba # smbpasswd -m test
Failed to set password for user test$.
Failed to modify password entry for user test$




Am Sonntag, 3. Juli 2005 14:55 schrieb Martin Petersen:



As far as I know You need to set a system account. smbpasswd gives this
error because of the missing user entry for test$ in /etc/passwd.



So the system machine account exits but smbpasswd will not allow to 
create the samba user account for this machine?



After I've read Your first post again: Maybe the machine account doesn't 
even need a password but You only need to to add the account with 
smbpasswd -a -m test$?



No, everything is fine. I can add and remove workstations without problems.
But as soon as I try to change the workstations password with
smbpasswd -m -w workstation or
(echo pass;echo pass) | smbpasswd -s -m -e workstation
I get the above error.

Cheers, Tilo



So I am sorry to say that I am not of any help here. Good luck.

Martin

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


Re: [Samba] change machine password

2005-07-03 Thread Tilo Lutz
>>Tilo Lutz schrieb:
>>>I use some programs to clone a windows workstation and
>>>duplicate it's image on other workstations.
>>>After cloning I change the workstation name and add a
>>>machine account on the samba pdc.
>>>Now I want to create a new password for the workstation
>>>account and store it.

Notebook:/etc/samba # smbpasswd -m test
Failed to set password for user test$.
Failed to modify password entry for user test$

> Am Sonntag, 3. Juli 2005 14:55 schrieb Martin Petersen:
> 
>>As far as I know You need to set a system account. smbpasswd gives this
>>error because of the missing user entry for test$ in /etc/passwd.

> So the system machine account exits but smbpasswd will not allow to 
> create the samba user account for this machine?

> After I've read Your first post again: Maybe the machine account doesn't 
> even need a password but You only need to to add the account with 
> smbpasswd -a -m test$?

No, everything is fine. I can add and remove workstations without problems.
But as soon as I try to change the workstations password with
smbpasswd -m -w workstation or
(echo pass;echo pass) | smbpasswd -s -m -e workstation
I get the above error.

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


Re: [Samba] change machine password

2005-07-03 Thread Tilo Lutz
Am Sonntag, 3. Juli 2005 15:07 schrieb Tilo Lutz:
> > Tilo Lutz schrieb:
> > > I use some programs to clone a windows workstation and
> > > duplicate it's image on other workstations.
> > > After cloning I change the workstation name and add a
> > > machine account on the samba pdc.
> > > Now I want to create a new password for the workstation
> > > account and store it.
> > >
> > >>Notebook:/etc/samba # smbpasswd -m test
> > >>Failed to set password for user test$.
> > >>Failed to modify password entry for user test$
>
> Am Sonntag, 3. Juli 2005 14:55 schrieb Martin Petersen:
> > As far as I know You need to set a system account. smbpasswd gives this
> > error because of the missing user entry for test$ in /etc/passwd.
>
> No. The account exists:
> > Notebook:/home/tilo # smbpasswd -a -m test
> > Added user test$.
> > Notebook:/home/tilo #

I forgot: Of course I've called smbpasswd -x test first
before smbpasswd -a -m test,

smbpasswd -a -s -m test doesn't work too.

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


Re: [Samba] change machine password

2005-07-03 Thread Martin Petersen

Tilo Lutz schrieb:

Tilo Lutz schrieb:


I use some programs to clone a windows workstation and
duplicate it's image on other workstations.
After cloning I change the workstation name and add a
machine account on the samba pdc.
Now I want to create a new password for the workstation
account and store it.



Notebook:/etc/samba # smbpasswd -m test
Failed to set password for user test$.
Failed to modify password entry for user test$



Am Sonntag, 3. Juli 2005 14:55 schrieb Martin Petersen:


As far as I know You need to set a system account. smbpasswd gives this
error because of the missing user entry for test$ in /etc/passwd.



No. The account exists:


Notebook:/home/tilo # smbpasswd -a -m test
Added user test$.
Notebook:/home/tilo #



Cheers, Tilo


So the system machine account exits but smbpasswd will not allow to 
create the samba user account for this machine?


After I've read Your first post again: Maybe the machine account doesn't 
even need a password but You only need to to add the account with 
smbpasswd -a -m test$?


I've set up a couple of Win32 domain members with cloning and my 
problems only occured with the clients and not the backend (e.g. get 
machine out of domain and bring in again).



Martin

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


Re: [Samba] change machine password

2005-07-03 Thread Tilo Lutz
> Tilo Lutz schrieb:
> > I use some programs to clone a windows workstation and
> > duplicate it's image on other workstations.
> > After cloning I change the workstation name and add a
> > machine account on the samba pdc.
> > Now I want to create a new password for the workstation
> > account and store it.
> >
> >>Notebook:/etc/samba # smbpasswd -m test
> >>Failed to set password for user test$.
> >>Failed to modify password entry for user test$

Am Sonntag, 3. Juli 2005 14:55 schrieb Martin Petersen:
> As far as I know You need to set a system account. smbpasswd gives this
> error because of the missing user entry for test$ in /etc/passwd.

No. The account exists:
> Notebook:/home/tilo # smbpasswd -a -m test
> Added user test$.
> Notebook:/home/tilo #

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


Re: [Samba] change machine password

2005-07-03 Thread Martin Petersen

Tilo Lutz schrieb:

Hi

I use some programs to clone a windows workstation and
duplicate it's image on other workstations.
After cloning I change the workstation name and add a
machine account on the samba pdc.
Now I want to create a new password for the workstation
account and store it.

I use Suse Linux 9.3 as samba pdc. samba version is 3.0.13.
How can I set the password for a workstation?


Notebook:/etc/samba # smbpasswd -m test
Failed to set password for user test$.
Failed to modify password entry for user test$


I tried smbpasswd to change the password but this doesn't
seem to work.
Is there any other way to change the password?

I know I can modify the file smbpasswd directly or change
the password in ldap. But I want a clean solution working with
every password backend.

Best regards,

Tilo Lutz


As far as I know You need to set a system account. smbpasswd gives this
error because of the missing user entry for test$ in /etc/passwd.

Just add the user without shell and homedir and try smbpasswd again.

Hope this helps, please let me know I've You have another kind of setup
and You are sure that You don't need a plain system account for Your
machine accounts.

Martin

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


[Samba] change machine password

2005-07-03 Thread Tilo Lutz
Hi

I use some programs to clone a windows workstation and
duplicate it's image on other workstations.
After cloning I change the workstation name and add a
machine account on the samba pdc.
Now I want to create a new password for the workstation
account and store it.

I use Suse Linux 9.3 as samba pdc. samba version is 3.0.13.
How can I set the password for a workstation?
> Notebook:/etc/samba # smbpasswd -m test
> Failed to set password for user test$.
> Failed to modify password entry for user test$
I tried smbpasswd to change the password but this doesn't
seem to work.
Is there any other way to change the password?

I know I can modify the file smbpasswd directly or change
the password in ldap. But I want a clean solution working with
every password backend.

Best regards,

Tilo Lutz

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


[Samba] (no subject)

2005-07-03 Thread mail
Un message dont vous etes le destinataire a ete refuse par exim
Il contenait un fichier attache non autorise : exe,bat,zip,... 
l'auteur de ce mail est : [EMAIL PROTECTED]
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Samba interface for administrative tools

2005-07-03 Thread Rhys Goodwin
Hey Guys, 
 It seems to me that the very best place to store all samba conf options is 
in the ldap dir. I got all excited when I was taking a look at the samab3 
schema and saw the sambaConfigOption objectclass, found out that is not 
implimented yet. Maybe Im being a bit narrow minded to assume that everyone 
is using an ldap back end? I like the idea of being able to whip up a very 
tidy windows based (MMC?) samba console and requiring only ldap connection 
to the server and be able to FULLY control samba. Perhaps smbd could be 
setup to be quite particular about when and how it would reaload options 
from the directory? 
 Hope Im not on a different wave length to the rest of you! :)
Cheers,
Rhys
  On 7/3/05, Gerald (Jerry) Carter <[EMAIL PROTECTED]> wrote:

> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
> 
> Ilia Chipitsine wrote:
> 
> >
> > Something like
> >
> > [HKLM\Software\Samba.org\Configuration]
> > [HKLM\Software\Samba.org\Configuration\global]
> > [HKLM\Software\Samba.org\Configuration\homes]
> > [HKLM\Software\Samba.org\Configuration\share1]
> > ...
> >
> >> so, if this will be implemented, I can connect with
> >> registry editing tools and remotely manage configuration ?
> 
> Yup that was my idea. Each subtree of Samba's registry can
> define it's own security descriptor access check. So assuming
> that the user meets the appropriate securirt checks, setting a
> valuename/data pair would set the 'parameter = value' option
> for that section (which matches the registru value's parent
> key).
> 
> This is a good ways out right now. But if there is sufficient
> interest in this kind of thing, I'm willing to work on it.
> 
> 
> cheers, jerry
> -BEGIN PGP SIGNATURE-
> Version: GnuPG v1.4.0 (GNU/Linux)
> Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
> 
> iD8DBQFCxz6AIR7qMdg1EfYRAoaZAJ93RDbVIvK1Dq+nEiPDF393fpzoyACcCkI+
> AhksNeL6nIfYxplF96BTcm4=
> =Oh/o
> -END PGP SIGNATURE-
> --
> To unsubscribe from this list go to the following URL and read the
> instructions: https://lists.samba.org/mailman/listinfo/samba
>
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba