Displaying 20 results from an estimated 10000 matches similar to: "Using variables with pdbedit"
2003 Dec 31
3
Cups and Samba Access Denied
I purchased the Samba 3.0 book and it has gotten me pretty far but I finally
had to go to the mailing list for this problem.
Here is the issue, I am running Debian (woody) with samba 3.0.1-2 and cupsys
1.1.14-5 I have also installed cupsys-bsd cupsys-client and smbclient
foomatic-bin and as2ps follwing this
http://excess.org/docs/linux_windows_printing.html advice. Samba is running
in Domain mode
2004 Jan 09
2
Problem with internal traffic
Have 4 harddrives hde,hdg etc all of these drives are mounted in samba. When i copy file from one drive to another i notice that server sends the file to my computer and then back to itself (into the right place). The file will be copied but doing so it will eat half of my network bandwith.
Is it possible to aviod this?
Best Regards
Patrick Betfjord
2008 Apr 18
7
Samba and Vista profile probs
Hi all, I've got some problems with vista sp1 + samba 3.0.28a
vista will not save the profiles nor load them. !
I'm all familiar with the .V2 thing.
vista however does create the "profilename.V2" directory, but does not
populate it with the data
Xp machines work like a charm however.
profiles path's are: \\<server>\profiles\testuser
so the problem with the .V2 part is
2014 Dec 15
3
Strange problem with pdbedit -Lv : missing users ?
Dear all,
I have a very strange problem with "pdbedit -Lv" under Samba 3.3.10, a
lot of users and machines are missing !
Strangely, all these missing machines and users are working perfectly
well.
The problem is that I need to get their SID to be able to migrate to a
new server...
TECHNICAL DETAILS :
* Samba 3.3.10
* Number of machines :
* Unix : 128 machines
* pdbedit
2012 Apr 03
1
macro characters with pdbedit ?
Hi,
I would like to change the Logon script name attributes of a samba user account to something like logon%u.cmd using pdbedit with the --script option. It does not work because the string logon%u.cmd is litteraly taken as the value, loosing the variable substitution at evaluation time. pdbedit -v output gives "Logon Script : logon%u.cmd" .?
When creating a user account without
2004 Feb 12
3
More to pdbedit -L segfault
I have recompiled pdbedit 3.0.2 with -g flag to be able to list sources from gdb when
debugging pdbedit and discovered some more info but don't know how to interpret
it:
(gdb) frame 1
#1 0x0806c899 in init_sam_from_buffer (sampass=0x81b8c28, buf=0x81b8d78 "",
buflen=208) at passdb/passdb.c:1462
1462 SAFE_FREE(domain);
(gdb) print domain
$8 = 0x10000 <Address
2009 Oct 08
6
Change Allowed Workstations with pdbedit
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?
2004 Jun 09
1
pdbedit
I have a couple of questions about pdbedit.
I am having trouble using pdbedit in shell scripts.
First, on a freshly installed system with no-one in the tdbsam database,
trying to add multiple machine accounts via a loop construct in a shell
script fails with a message that the database can't be found/doesn't
exist. I then added root manually just to get the system going, which
solves
2004 Jul 21
2
PDBEDIT USE - ACCOUNT FLAGS AND POLICIES - 2ND TIME
Hi everyone...
Can somebody help me?
I've sent this last Sunday but nobody has replied.
Cheers,
Rafael
-----Mensaje original-----
De: Rafael Paris [mailto:rparis@hotelmaruma.com]
Enviado el: Domingo, 18 de Julio de 2004 06:58 p.m.
Para: 'samba@lists.samba.org'
Asunto: PDBEDIT USE - ACCOUNT FLAGS AND POLICIES
Good afternoon everyone.
I'm trying to set account control flags and
2014 Dec 15
2
Strange problem with pdbedit -Lv : missing users ?
Thank you very much for your answer.
It's the default, internal backend. (smbpasswd)
a) If I do :
tdbdump schannel_store.tdb dump | grep BWPC |grep SECRET | wc
I get 95 machines (this number looks good).
b) smbpasswd is a text file that looks good.
c) I can also do "tdbdump secrets.tdb dump"
Thanks a lot in advance for any advice,
Denis
Le 15.12.2014 22:00, Gaiseric
2007 Sep 19
1
pdbedit -P "password history" doesn't work !!
Hi !
This is my firs post here. I've got a problem with password history
policy -C 3 which doesn't work !!
I set policy
pdbedit -P "maximum password age" -C 777600 (90days)
pdbedit -P "minimum password age" -C 691200 (80days)
"user must logon to change password" -C 2
"password history" -C 3
On clients (XP PRO) some of people
2010 Dec 05
4
samba 3.5.x, pdbedit smb.conf and profiles
Who wins the fight for the roaming profile path, "logon path" in smb.conf or "profile path" set by pdbedit?
How do you force the "profile path" in pdbedit to get its value from "logon path" in smb.conf?
Is it possible to disable roaming profiles by user with pdbedit and leave "logon path" set in smb.conf?
Thanks.
2007 Apr 17
1
rsync & SSL 'for real'
Dear All,
I've been using rsync with stunnel with success for a while now, but I'm
not necessarily satisfied with it, i.e. having an extra layer externally
and all, no authentication against SSL-subjects ..
I had a look at the patch included with the source, and it doesn't quite
address everything related to SSL, i.e. forcing SSL, verify options etc.
are all missing - besides,
2005 Jan 06
1
pdbedit syntax for forcing user to change password
Hi all
Maybe a stupid question, but I'm not able to figure this out from the
manpage nor from the HOWTOs...
How can I force a user to change his password at next logon?
I tried:
# pdbedit -P "user must logon to change password" -C 0 -u username
# pdbedit -u username -P "user must logon to change password" -C 0
# pdbedit -P "user must logon to change password"
2004 Jan 09
1
pdbedit bug?
If I try to do the following:
/usr/local/samba/bin/pdbedit -a -u someusername -U 5000
This works as one would think, the account is created with a RID of 5000.
But when I do:
/usr/local/samba/bin/pdbedit -a -m -u somemachinename -U 3000
It does not work as you would think. The account is created but with
the RID of the Unix UID*2+1000 not, a RID of 3000 as specificed on the
command line. And
2007 Jan 17
1
2 Questions: Answer with music don't work and Voicemail direct access ?
Hi
I have two small question, if you can help me ;=)
Problems with Answer+Music
my extension:
[Cal-In]
exten => _811XXXX20,1,Goto(C-Internal,100,1)
exten => _811XXXX21,1,Goto(C-Internal,200,1)
[C-Phibee]
exten => 100,1,Ringing
exten => 100,2,Wait,1
exten => 100,3,Answer
exten => 100,4,Dial(SIP/201&SIP/200,30)
exten => 100,5,Hangup
exten =>
2011 May 25
2
Pdbedit cannot modify SID
Hi,
I'm trying to migrate from a SME server to an Ubuntu 10.04
Domain names are the same (domain SID already retrieved)
example
User john on SME server has SID
S-1-5-21-1222067456-3914006320-3959678504-11026
User john on Ubuntu server has SID
S-1-5-21-1222067456-3914006320-3959678504-3010
Not to loose Windows profiles, I'm trying to modify john's SID on Ubuntu
server :
pdbedit -u
2005 Jun 17
2
Illegal multibyte sequence error in pdbedit output
dear list,
in the output of pdbedit -L -v heupink I'm getting these errors:
convert_string_allocate: Conversion error: Illegal multibyte sequence(???p?
????????)
Any ideas where to look..? Are these serieus errors..? (it looks as if the errors occur BEFORE the actual ldap connection is opened, so I guess they're not ldap related...)
My samba is 3.0.14a, and system is sles9
Below find
2007 Mar 21
6
error while migrating users to ldap with pdbedit
hi list,
we want to migrate all our users from smbpasswd into ldap, but first
test it so the current samba server in production should not be
changed. to achieve this i created a smb.conf file with the following
content:
--- [smb.conf]
[global]
workgroup = mpi
netbios name = sandy01
netbios aliases = sandy02 sandy03
interfaces = 10.4.0.106/255.255.0.0
bind interfaces only = yes
socket
2014 Dec 16
2
Strange problem with pdbedit -Lv : missing users ?
the testparm command will show you the location of the password file and
the backend type
e.g.
smb passwd file = /etc/samba/private/smbpasswd
passdb backend = tdbsam
The backend file should be a TDB database file , not a plain text file
(unless left over from an older version.)
You may have users or computers with duplicated SIDs. You should
also use "getent