forked from Deuxfleurs/bottin
Ajout des fichiers WireSharks scan pour problème messageID
This commit is contained in:
parent
9e4b4a0162
commit
32cce4c4d3
3 changed files with 6 additions and 6 deletions
BIN
test_automatic/Scan_Bad_Packets.pcapng
Normal file
BIN
test_automatic/Scan_Bad_Packets.pcapng
Normal file
Binary file not shown.
BIN
test_automatic/Scan_Good_Packets.pcapng
Normal file
BIN
test_automatic/Scan_Good_Packets.pcapng
Normal file
Binary file not shown.
|
@ -216,7 +216,7 @@ func main() {
|
|||
|
||||
//Create a connection with Bottin server
|
||||
l, err := ldap.Dial("tcp", fmt.Sprintf("%s:%d", adresse, port))
|
||||
l.Debug = true
|
||||
//l.Debug = true
|
||||
printError(err)
|
||||
|
||||
//Bind with the admin account generated
|
||||
|
@ -259,11 +259,11 @@ func main() {
|
|||
|
||||
|
||||
//Close the connection and open an other. If we don't do this, bottin server send a wrong answer. Comment this part if you want to try this
|
||||
//l.Close()
|
||||
//l, err = ldap.Dial("tcp", fmt.Sprintf("%s:%d",adresse, port))
|
||||
//printError(err)
|
||||
//err = l.Bind(bindusername, bindpassword)
|
||||
//printError(err)
|
||||
l.Close()
|
||||
l, err = ldap.Dial("tcp", fmt.Sprintf("%s:%d",adresse, port))
|
||||
printError(err)
|
||||
err = l.Bind(bindusername, bindpassword)
|
||||
printError(err)
|
||||
defer l.Close()
|
||||
|
||||
//Modify attributes users and groups.
|
||||
|
|
Loading…
Reference in a new issue